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

maps color format from HEIF to Qt (i.e. RGB88) #18

Merged
merged 1 commit into from
Jun 22, 2020

Conversation

diemmarkus
Copy link
Contributor

  • this patch is needed to load RGB888 heif images with libheif 1.7.0
  • maps heif_chroma_interleaved_RGB to QImage::Format_RGB888
  • other conversions are not added because I don't have test images

- this patch is needed to load RGB888 heif images with libheif 1.7.0
- maps heif_chroma_interleaved_RGB to QImage::Format_RGB888
- other conversions are not added because I don't have test images
@diemmarkus
Copy link
Contributor Author

having compiled libheif v1.7.0 I could not load C001.heic anymore.

@ZaWertun
Copy link
Contributor

* other conversions are not added because I don't have test images

I could send you test image. Do you need it?

@diemmarkus
Copy link
Contributor Author

yes, please! (ideally with different color formats)

@ZaWertun
Copy link
Contributor

yes, please! (ideally with different color formats)

It's photo taken from my mobile phone: http://zawertun.crabdance.com/20200620_175651.heic.

@jakar jakar merged commit 3ab3539 into jakar:master Jun 22, 2020
@jakar
Copy link
Owner

jakar commented Jun 22, 2020

Merged without testing, because

Thanks everyone!

@jakar
Copy link
Owner

jakar commented Jun 22, 2020

Just reread your comments, and my merge might have been premature. Sorry if that's the case.

@diemmarkus
Copy link
Contributor Author

Just reread your comments, and my merge might have been premature. Sorry if that's the case

it should be fine. Only, if we have images stored in formats other than RGB and RGBA, we should come back to this...

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.

3 participants