Individually Label stdin GIF pages
Posted: 2007-08-23T12:47:20-07:00
I am trying to produce GIF previews of multi-page PDFS from a script using the following command:
I am having an issue with the montage command. I can set a generic label such as 'Page %p', which of course works fine. I want to be able to define custom labels for each page, though, such as 'Front' & 'Back'.
Can anyone explain how this can be performed for a GIF passed through stdin, or if it can be done at all?
Any help would be greatly appreciated.
Code: Select all
convert -density 300 -resize 150% -profile "USWebCoatedSWOP.icc" pdf:- -profile "sRGB Color Space Profile.icm" -resample 72 gif:- | montage -label 'Front' gif:-[0] -label 'Back' gif:-[1] -tile 2x -frame 2 -geometry +2+2 gif:-
Can anyone explain how this can be performed for a GIF passed through stdin, or if it can be done at all?
Any help would be greatly appreciated.