Convert PDF to PNG and resize

felipe
2012-07-09
2013-03-21
  • felipe
    felipe
    2012-07-09

    hi,

    i'm converting a file from PDF to PNG and i want resize it, i used sPAPERSIZE and dDEVICEWIDTHPOINTS, both didn't work, on the other and if i use gwitdhxheight it cut my image. How am i supposed to resize the image and convert to PNG without cut the content.

    gs -dNOPAUSE -sDEVICE=png16m  -sOutputFile=A001.png  -r300x300  g200x200  -q A001.pdf -c quit