When I do
img2pdf input.jpg -o output.pdf
, the output pdf is too vibrant, and not a one-to-one with the image. I also tried it with ImageMagick and
convert input.jpg output.pdf
is also too vibrant.
I was expecting a one-to-one like how MacOS' Create PDF
does it, but I can't use it because I don't think it has a CLI equivalent, and I would rather not lock myself in with MacOS only tools. I need it to be usable on the CLI to automate several tasks with scripting. I just noticed the difference, and I've been searching for a couple of hours, but couldn't find an answer to my problem. Is this intentional? Or a bug? It's driving me mad!
Works fine for me to convert from jpg to png in Imagemagick 6.9.12.93 on my Mac OSX Ventura
Same result converting to PDF
What is your IM version?
Your jpg has no profile. You might want to add an sRGB.icc color profile before converting. That often helps as some viewers and systems handle that differently (add or don't add the profile automatically).