Conversion problem with pdf to gif

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
sanojmn

Conversion problem with pdf to gif

Post by sanojmn »

Hi,

I am trying to convert pdf to gif, actually it is converting but the problem is it converting to one file not like converting pdf to png (different file). I dont know what is the problem. for this we need to install any delegates. my imagemagick version is 6.5.1 and delegates what i have installed are

DELEGATES bzlib fontconfig freetype gs jpeg lcms png rsvg tiff x11 xml wmf zlib

So what should i do for getting correct output.

thanks,
Sanoj
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Conversion problem with pdf to gif

Post by fmw42 »

to convert multi-page pdf to individual gifs use +adjoin (see http://www.imagemagick.org/script/comma ... php#adjoin)

convert image.pdf +adjoin image_%d.gif

or just

convert image.pdf +adjoin image.gif

and it will get numbered with -0.gif -1.gif etc

whereas the top method allows you to use underscore (or hyphen) and put leading zeros if you want.
Post Reply