Oh, wait, just to confirm: you have your original image of 3032x4063 pixels and you would like img2pdf to change that so that the final image in the pdf is at around 2550x3417 pixels? You expect…
So that input image is 3032x4063 pixels. If you scale that to 300 dpi, then that's 10.1 x 13.5 inch. This means it does not fit onto the letter paper format and it makes sense that parts are cut…
Can you send me your input image?
If you want letter pages with 300dpi images, then
img2pdf -o out.pdf -S letter -s 300dpix300dpi
should be doing what you want. If it does not,…
I'm not quite sure I understand what you mean. Do you have an example where plakativ cuts off edges of the original document? If yes, then that is a bug.
uff... why do all these image manipulation programs put an RGB profile into a grayscale image? :(
Are these also JPEGs? What is the value of the Software tag?
You are completely correct! The other fix was about TIFF and PNG produced by GIMP. Your problem is about JPEG produced by SmartAlbums but the fix is the same. I didn't even know that grayscale…
Could you try img2pdf from git? This bug should be fixed there.
I just have to make a new release but the test suite still fails on Fedora...
Thank you! I've tagged this issue as "enhancement" and "help wanted", so if somebody finds some time to implement this I'd be happy to review patches. 😄
Yes, that would make sense if it is possible.
Do you have very large GIF images were re-encoding them slows you down?
One problem is, that Pillow does not give me access to the compressed…