pigallery2
pigallery2 copied to clipboard
HEIC image dimensions reported wrong for HEIC files with multiple images embedded
A bug in pigallery due to a bug in a dependency: https://github.com/image-size/image-size/issues/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:
Opening the issue here, so everyone knows that the bug is known. Originally reported as part of the issue posted by @malavolti in https://github.com/bpatrik/pigallery2/issues/877#issuecomment-2129426320_:
Image to recreate the problem: