[
https://issues.apache.org/jira/browse/SANSELAN-9?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620515#action_12620515
]
Kevin Theisen commented on SANSELAN-9:
--------------------------------------
Hi Charles,
Sorry for the late update, things got busy. I short-circuited the function and
yes, the image no longer gets darker. Since this is not a problem with Sanselan
I will close this issue, thanks for your help.
I will look into this and hopefully find out what is going on, as that function
is very important for applications painting many images. Hopefully I can figure
it out soon. Let me know if you have any ideas.
Thanks,
Kevin
> Loading Black and White PNGs produces darker images.
> ----------------------------------------------------
>
> Key: SANSELAN-9
> URL: https://issues.apache.org/jira/browse/SANSELAN-9
> Project: Sanselan
> Issue Type: Bug
> Affects Versions: 0.94-incubator
> Environment: Mac OSX 10.5+, Java 1.5+, Sanselan 0.94
> Reporter: Kevin Theisen
> Attachments: PNGDarker.png, testImage.png, testImageNoAlpha.png
>
>
> When saving and loading pngs with Sanselan, black and white images get
> darker with each save and load. All images are held in
> memory as BufferedImages (ARGB). Have you ever seen this weird behavior
> before or how I may fix it?
> The affected images may be all PNGs, but I see this effect happening in
> images that contain mostly black and white pixels. The image I use to
> demonstrate this problem is from a wikipedia page of Linus Pauling:
> http://en.wikipedia.org/wiki/Linus_Pauling
> The image basically goes to black after saving and loading 3/4 times.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.