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

Fix QImage format on Qt 5.10+ #19

Merged
merged 1 commit into from
Feb 22, 2018
Merged

Conversation

stepanp
Copy link
Contributor

@stepanp stepanp commented Feb 21, 2018

On Qt 5.10 .psd files with 8-bit RGB with Alpha reads as QImage QImage::Format_RGB32, i.e. without transparency. I don't know why it works on previous Qt versions

@roniemartinez
Copy link
Owner

roniemartinez commented Feb 21, 2018

Hi @stepanp

Does this fix work on older versions, too?

Edit: By checking the code, I believe that this fix should be the correct one. I can't verify it though since I don't have an Qt environment on my laptop.

@roniemartinez roniemartinez merged commit ac8b130 into roniemartinez:master Feb 22, 2018
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

Successfully merging this pull request may close these issues.

2 participants