librelist archives

« back to archive

PDF2JPG

PDF2JPG

From:
Ztripez Hellström
Date:
2012-09-25 @ 12:40
I'm trying to convert pdf image to jpeg, how ever i it only convert
the first page of the pdf. How do i get it to work with multiple pages
and how do i set an incremental file name?

I want to do this but in python instead:

convert -density "${DENSITY}" +adjoin -format jpg "$f" "${NAME}_%03d.jpg"

Re: [wand] PDF2JPG

From:
Hong Minhee
Date:
2012-09-25 @ 13:23
It seems to need sequence APIs.  We’re currently working on the sequence 
APIs and it will be shipped in 0.3.0 version, our next release.

See also the following issues:

  https://github.com/dahlia/wand/issues/34
  https://github.com/dahlia/wand/pull/39


On Sep 25, 2012, at 9:40 PM, Ztripez Hellström <ztripez@pong.se> wrote:

> I'm trying to convert pdf image to jpeg, how ever i it only convert
> the first page of the pdf. How do i get it to work with multiple pages
> and how do i set an incremental file name?
> 
> I want to do this but in python instead:
> 
> convert -density "${DENSITY}" +adjoin -format jpg "$f" "${NAME}_%03d.jpg"