Page 3 of 3 FirstFirst 123
Results 21 to 22 of 22

Thread: Imagemagick / Ghostscript: converting a pdf into a jpg

  1. #21
    Join Date
    Nov 2008
    Location
    Germany
    Beans
    8

    Re: Imagemagick / Ghostscript: converting a pdf into a jpg

    Quote Originally Posted by Jonne View Post
    I think I found it, thanks to WW. Apparently it depends on the syntax you use. If you add the switches before giving the filename of the pdf, it will not ignore -density and such. If you give the filename first (like in the example I posted), Imagemagick will first rasterize the pdf, and only apply the switches afterward, thus giving degraded quality. to recap:
    bad:
    convert file.pdf -density 200x200 file.jpg

    good:
    convert -density 200x200 file.pdf file.jpg

    thanks guys
    thx man, u saved my day

  2. #22
    Join Date
    Oct 2008
    Beans
    5

    Re: Imagemagick / Ghostscript: converting a pdf into a jpg

    I'm having a related problem --- I have a multipage PDF file which contains one image per page. I have tried using convert to convert that PDF into images (using the %d in the jpg filename) but I'm only getting the first page.

    I have used convert in the past to convert multipage PDF files into a sequence of jpgs with no problem. Anyone know why this might now be failing ---

Page 3 of 3 FirstFirst 123

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •