Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect reading images with transparent pixels #15

Open
stepanp opened this issue Sep 27, 2014 · 3 comments
Open

Incorrect reading images with transparent pixels #15

stepanp opened this issue Sep 27, 2014 · 3 comments

Comments

@stepanp
Copy link
Contributor

stepanp commented Sep 27, 2014

I have some psd file with transparency background. I try load it with libqpsd, but some pixels with opacity displays incorrect:
test
Left - psd file, loaded with libqsd, right - png file saved from same psd file using photoshop.
Psd file format: RGB color, 8-bits per channel, Photoshop CS5.
Same thing has in all my psd files having non-white transparent pixels.

@stepanp stepanp changed the title Incorrect reading alpha channel on RGBA images Incorrect reading images with transparent pixels Sep 27, 2014
@stepanp
Copy link
Contributor Author

stepanp commented Sep 27, 2014

@roniemartinez
Copy link
Owner

Hi,
Do you think the bug can also be found in other color depths (e.g. 16)?

@stepanp
Copy link
Contributor Author

stepanp commented Sep 28, 2014

Hi.

Yes, i think this bug can be found in all color dephts.
Photoshop store merged image with blending it with white. So, if image have transparent background, this bug is possible.

For 16 bits, I think, same fix could be used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants