Quality problems pdf to scaled jpg
Posted: 2010-04-23T07:30:01-07:00
Hello,
Can you help me with the following situation:
I have a PDF (A4 format) and convert it to jpg with imagemagick.
This is fine, sufficient quality.
Now I want to scale generated jpg to a width of 425 pixels.
Now the generated file will lose too much quality.
exec("convert -geometry 1600x1600 -colorspace rgb -density 200x200 -quality 100 -units pixelsperinch ".ORGINEEL_PDF." ".ORGINEEL_JPG);
exec("convert -sharpen 0x5 -scale 425x600 ".ORGINEEL_JPG." ".RESULT_FILE);
How can I improve the outcome for print.
Thanks
Can you help me with the following situation:
I have a PDF (A4 format) and convert it to jpg with imagemagick.
This is fine, sufficient quality.
Now I want to scale generated jpg to a width of 425 pixels.
Now the generated file will lose too much quality.
exec("convert -geometry 1600x1600 -colorspace rgb -density 200x200 -quality 100 -units pixelsperinch ".ORGINEEL_PDF." ".ORGINEEL_JPG);
exec("convert -sharpen 0x5 -scale 425x600 ".ORGINEEL_JPG." ".RESULT_FILE);
How can I improve the outcome for print.
Thanks