Problems converting PDF to Image (jpg, png..)
Posted: 2008-01-16T06:10:00-07:00
Hey Guys,
I am trying to convert a given PDF to an image using ImageMagick (with ghostwriter) (both is installed by my webprovider).
It works but :
The created image: http://flora-apo.info.dd18202.kasserver ... /image.png or http://flora-apo.info.dd18202.kasserver ... /image.jpg
The Code:
Is there something wrong/bad with my code, how can i optimize it?
I played around with -density but it doesnt give me a better result...
Thank you in advance,
Kai
I am trying to convert a given PDF to an image using ImageMagick (with ghostwriter) (both is installed by my webprovider).
It works but :
- I get a very unsharp/blurred result.
- It looks like a very bad PDF-intepreter: diffrent spaces between letters etc.
The created image: http://flora-apo.info.dd18202.kasserver ... /image.png or http://flora-apo.info.dd18202.kasserver ... /image.jpg
The Code:
Code: Select all
convert image.pdf -density 300x300 -trim -append -resize 1400 -quality 100 image.jpg
I played around with -density but it doesnt give me a better result...
Thank you in advance,
Kai