Convert PDF to PNG without output file extension using ImageMagick -


it simple convert pdf file png:

convert input.pdf -colorspace rgb -resize 800 output.png 

however have skip extension in file name, have tried with:

convert input.pdf -colorspace rgb -resize 800 output 

but generates me pdf file. how can specify pdf type convert argument ?

-type png 

does not work.

solution:

convert input.pdf -colorspace rgb -resize 800 png:output 

this creates png file named output.


Comments

Popular posts from this blog

How to check data type in C++? -

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

formula - R: how to pass in a reference to the variable in glm or lm? -