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

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -