Home > Linux > Convert PDF to JPG

Firstly, install ImageMagick on your linux server

yum install ImageMagick

Secondary, run this command:

convert -colorspace RGB file.pdf file.jpg

convert -colorspace RGB -crop 594x841+29+29 -resize 100x141 file.pdf file.jpg



Flag Counter