Convert PDF -> PNG with the right size
Posted: 2011-03-30T10:02:49-07:00
Hi all
I have a PDF file containing one picture (which is very vectorial : it was produced by laTeX/pstrcicks). I'd like to have a PNG from it.
First try :
convert MyImage.pdf MyImage.png
Problem : the image is too small (smaller than the original pdf) and then got ugly when resized.
Second try :
convert MyImage.pdf -resize 200% MyImage.png
Problem : the exit has not the expected quality.
Since PDF is vectorial, it is possible to produce a correct PNG image of arbitrary size, no ?
In fact I can open the PDF in Gimp and ask Gimp to convert the PDF into a 300% image. Gimp takes the vectorial information into account
and exports a big and beautiful PNG picture.
What I would like to do is to convert a PDF into a PNG and impose the size of the png picture without lose of quality.
I hope I've been clear in my explanation. Any help is welcome !
thanks
Laurent
I have a PDF file containing one picture (which is very vectorial : it was produced by laTeX/pstrcicks). I'd like to have a PNG from it.
First try :
convert MyImage.pdf MyImage.png
Problem : the image is too small (smaller than the original pdf) and then got ugly when resized.
Second try :
convert MyImage.pdf -resize 200% MyImage.png
Problem : the exit has not the expected quality.
Since PDF is vectorial, it is possible to produce a correct PNG image of arbitrary size, no ?
In fact I can open the PDF in Gimp and ask Gimp to convert the PDF into a 300% image. Gimp takes the vectorial information into account
and exports a big and beautiful PNG picture.
What I would like to do is to convert a PDF into a PNG and impose the size of the png picture without lose of quality.
I hope I've been clear in my explanation. Any help is welcome !
thanks
Laurent