hello,
i want to convert a pdf file in jpg's. i tried it with this commando
convert 1.pdf *.jpg
so it did something and promt even this
Warning: stream operator not terminated by valid EOL
and no pic was converted.
what means that? i am using ubuntu linux
thanks
what means this error
-
- Posts: 1015
- Joined: 2005-03-21T21:16:57-07:00
Re: what means this error
You should post your question in the Users forum.
I presume that you are trying to produce a JPG for each page in the PDF file. If so, you can use a command like this:
This will produce a series of JPG files: output_01.jpg, output_02.jpg, etc. You can use whatever output name you want.
But ImageMagick will use its default pixel density of 72dpi when it converts the PDF pages to JPG and this might not produce JPGs that are easy to read.
In that case you can force a higher density, for example to force 300dpi:
Pete
I presume that you are trying to produce a JPG for each page in the PDF file. If so, you can use a command like this:
Code: Select all
convert 1.pdf output_%02d.jpg
But ImageMagick will use its default pixel density of 72dpi when it converts the PDF pages to JPG and this might not produce JPGs that are easy to read.
In that case you can force a higher density, for example to force 300dpi:
Code: Select all
convert -density 300 1.pdf output_%02d.jpg
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
See my message in this topic for a link to a zip of all the files.