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

HEIC image dimensions reported wrong for HEIC files with multiple images embedded #918

Open
grasdk opened this issue Jun 29, 2024 · 2 comments

Comments

@grasdk
Copy link
Contributor

grasdk commented Jun 29, 2024

A bug in pigallery due to a bug in a dependency: image-size/image-size#403:

HEIC files can contain multiple images. The image-size library only reports the dimensions of one of these images, not necessarliy the right one. In the case of this bug, the dimensions of a 512x512 image is reported on a much larger image:
image

Opening the issue here, so everyone knows that the bug is known. Originally reported as part of the issue posted by @malavolti in #877 (comment)_:

Image to recreate the problem: image

@rhatguy
Copy link

rhatguy commented Jan 2, 2025

Now that the issue with image-size referenced previously has been closed, can this fix be pulled into PiGallery2?

@grasdk
Copy link
Contributor Author

grasdk commented Jan 9, 2025

As of today, the latest release of image-size is unfortunately older than the fix for multiple images. So cannot incorporate the fix yet:
https://github.com/image-size/image-size/releases

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

No branches or pull requests

3 participants