how to sharp and image using convert options
Posted: 2017-01-10T05:47:02-07:00
i am using following convert command to convert a pdf into png.while running this command the quality of the graphics inside png is very low and blurry.
convert -verbose -resample 150 -density 150 -trim +repage -sharpen 0x1.5 -quality 100 -append -transparent "#FFFFFF" "'.$pdf_file_name.'" "'.$gif_file_name.'"'
you can see the source pdf and converted png at below location
https://www.dropbox.com/s/9ru278jb17815 ... 4.pdf?dl=0
https://www.dropbox.com/s/e9g8tlhdvgwco ... 4.png?dl=0
please advise how to improve the quality of the graphics to make it more sharp and clear.
Thanks,
Ravinder
convert -verbose -resample 150 -density 150 -trim +repage -sharpen 0x1.5 -quality 100 -append -transparent "#FFFFFF" "'.$pdf_file_name.'" "'.$gif_file_name.'"'
you can see the source pdf and converted png at below location
https://www.dropbox.com/s/9ru278jb17815 ... 4.pdf?dl=0
https://www.dropbox.com/s/e9g8tlhdvgwco ... 4.png?dl=0
please advise how to improve the quality of the graphics to make it more sharp and clear.
Thanks,
Ravinder