I have an image that is 4032 in Height and 3024 in Width. But running the ImageInfo, it gives me the information flipped (shows 4032 wide, 3024 high).
I have checked the properties of the image and the EXIF data in file properties is showing the correct information. As well as photo programs.
I've analyzed this ticket a lot & I couldn't able to reproduce the issue. I've tested an Image with two formats JPG & PNG having their height=4032 & width=3024. ImageInfo() return same height and width as expected.
Pull Request: https://github.com/lucee/Lucee/pull/134
Little more details. The image that I'm having issues with has a rotate factor on the image. The image is a 90 degree Rotate Clockwise image. So the height that is passed from the ImageInfo is 3024 and the width is 4032 when the picture is the opposite.
I've added test case for the given image too. Given image with height=4032 and width=3024, if we rotate image 90 degree in clockwise direction, rotated image height and width should be crossed reference. Imageinfo() return height=3024 & width=4032 as expected.
NOTE: Rotated image height & width should be crossed reference of original image.
feel free to reopen ticket, but we really need more info to investigate.