Can't convert some jpeg images #171
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm currently on img2pdf version 0.3.3 on SLES. Some images are not converted to PDF when running "img2pdf --pillow-limit-break -S A4 -f shrink -o temp.pdf test.jpg". Error message is "ERROR:root:error: image file is truncated (0 bytes not processed)".
Image is:
test.jpg: JPEG image data, JFIF standard 1.01, resolution (DPI), density 300x300, segment length 20, Exif Standard: [TIFF image data, big-endian, direntries=13, manufacturer=Apple, model=iPhone 13, orientation=upper-right, xresolution=186, yresolution=194, resolutionunit=2, software=16.5, datetime=2023:06:15 10:58:42, hostcomputer=iPhone 13], baseline, precision 8, 4032x3024, components 3
Retested on 0.4.4 and it works. Image is malformed MPO file.