Closed Nihildum closed 1 year ago
Hello and thank you for the nice plugin.
I tried to read some jpg files and the reported width and height was wrong in files that have the 'Right-Top' orientation.
I decoded the image headers via ImageMagick. Do you need any additional information?
Correct read:
Image: Filename: IMG_1697.JPG Format: JPEG (Joint Photographic Experts Group JFIF format) Mime type: image/jpeg Class: DirectClass Geometry: 4000x3000+0+0 Resolution: 180x180 Print size: 22.2222x16.6667 Units: PixelsPerInch Colorspace: sRGB Type: TrueColor Base type: Undefined Endianness: Undefined Depth: 8-bit Channel depth: red: 8-bit green: 8-bit blue: 8-bit Rendering intent: Perceptual Gamma: 0.454545 Chromaticity: red primary: (0.64,0.33) green primary: (0.3,0.6) blue primary: (0.15,0.06) white point: (0.3127,0.329) Background color: white Border color: srgb(223,223,223) Matte color: grey74 Transparent color: black Interlace: None Intensity: Undefined Compose: Over Page geometry: 4000x3000+0+0 Dispose: Undefined Iterations: 0 Compression: JPEG Quality: 90 Orientation: TopLeft
Read wrongly:
Image: Filename: IMG_1690.JPG Format: JPEG (Joint Photographic Experts Group JFIF format) Mime type: image/jpeg Class: DirectClass Geometry: 4000x3000+0+0 Resolution: 180x180 Print size: 22.2222x16.6667 Units: PixelsPerInch Colorspace: sRGB Type: TrueColor Base type: Undefined Endianness: Undefined Depth: 8-bit Channel depth: red: 8-bit green: 8-bit blue: 8-bit Rendering intent: Perceptual Gamma: 0.454545 Chromaticity: red primary: (0.64,0.33) green primary: (0.3,0.6) blue primary: (0.15,0.06) white point: (0.3127,0.329) Background color: white Border color: srgb(223,223,223) Matte color: grey74 Transparent color: black Interlace: None Intensity: Undefined Compose: Over Page geometry: 4000x3000+0+0 Dispose: Undefined Iterations: 0 Compression: JPEG Quality: 90 Orientation: RightTop
Never mind, I missed the needRotate field in the Size structure.
needRotate
Size
Hello and thank you for the nice plugin.
I tried to read some jpg files and the reported width and height was wrong in files that have the 'Right-Top' orientation.
I decoded the image headers via ImageMagick. Do you need any additional information?
Correct read:
Read wrongly: