Page 1 of 1

How to split Multipage-Files?

Posted: 2010-01-19T02:36:47-07:00
by mactoni
Hi,

i have some Multipage-Files and i need every Page as an extra File, e.g. Multipagefile A1 with 100 Pages A1_1(only Page 1), A1_2(only Page2) ....
How can i handle that with IM?

Thanks in Advance,
mactoni

Re: How to split Multipage-Files?

Posted: 2010-01-19T10:56:09-07:00
by fmw42
convert image.gif image_%d.gif

Re: How to split Multipage-Files?

Posted: 2010-01-19T12:47:57-07:00
by el_supremo
If the output format allows multiple page images (I think GIF is one of them) you need to use +adjoin to force IM to create separate output files for each input page:

Code: Select all

convert image.gif +adjoin image_%d.gif
If, for example, the output file format were JPG, you wouldn't need +adjoin because JPG doesn't support multiple pages in one file. But putting +adjoin in anyway won't hurt.

Pete