what means this error

Use this forum for comments, suggestions or problems related to the online ImageMagick Studio web interface @ https://imagemagick.org/MagickStudio.
Post Reply
rasidrasid

what means this error

Post by rasidrasid »

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
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: what means this error

Post by el_supremo »

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:

Code: Select all

convert 1.pdf output_%02d.jpg
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:

Code: Select all

convert -density 300 1.pdf output_%02d.jpg
Pete
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.
Post Reply