-
Notifications
You must be signed in to change notification settings - Fork 13
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
PNG with Alpha Channel does not import / replace properly #85
Comments
Thx, will look into this! |
I looked at the code to see if could do it by nudging some arguments but, alas, it's beyond my skill. |
https://github.com/Photonsters/PhotonFileEditor/blob/release/PhotonFile.py#L467 seems to read alpha and discard the value... maybe the order of the tuple is ARGB instead of RGBA |
I'm trying to get to load files from Photoshop back in. As I understand it the PNGs need to be 32bit (24 RGB and 8 Alpha). I used ImageMagik to convert 2 bit pngs to 32 bit: Any Idea how I can generate PNGs that I can reimport? |
Native sliced images are 24 bits, printers don't need the extra alpha byte. |
Steps to reproduce:
Import or replace a bitmap slice with a PNG image that has an alpha channel: notice that the image is imported as all-black.
Import or replace a bitmap slice with a PNG image that has NO alpha channel: notice it appears correctly.
Desired behavior:
Images import irregardless if PNG alpha channel is present.
The text was updated successfully, but these errors were encountered: