Code: Select all
convert test.pdf test.jpg
test-0.jpg
test-1.jpg
test-2.jpg
However, this doesn't work:
Code: Select all
convert test.pdf jpg:- > test.jpg
This happens using either JPG and PNG as destination formats.
I referred the following post to try to get this to work, but the poster was working with a TIFF, not a PDF:
viewtopic.php?f=1&t=15913
The reason I'm doing this is that I want to call convert from a Java process that needs to send the bytes to a calling application. I'd rather not constantly write files to the filesystem, read them and then delete them.
Is there a command line option I'm missing, or am I doing something else incorrectly?