Monday, June 15, 2009

Converting PDF to Image using Ghostscript

before this, i'm converting from PDF to image using ImageMagick. it working fine for me then.

but for my current project, image need on higher resolution for better manipulation. so after goggling... simple command using ghostscript..

gswin32c.exe -dSAFER -dBATCH -dNOPAUSE -sDEVICE=png16m -r300 -sOutputFile=D:\tmp\page_0001.png D:\tmp\page_0001.pdf

No comments: