I tried this with the Com object first, but have been working strait through the command line and can not get a clean conversion from PDF - Jpg. I create a 300dpi, 500x500 red square with "TEST" in white letters across it, in photoshop. I saved this as a flattened PDF with no compression.
Code: Select all
-convert -quality 100 test.pdf test.jpg
Creates the jpg but it looks terrible. Wrong size, wrong dpi, terrible quality. I read something about how a pdf is really resolution independent, that probably factors into this. But no amount of -resample or -resize fixes the image. Is there anything I can do to correctly output the size and resolution, or at least correct the quality?