Extending Whilst Preserving Gif Transperancy
Posted: 2010-07-08T09:29:06-07:00
G'day,
I have a folder of ~100 animated .gif images with various transparency colours that I wish to enlarge into 40x40 images with the existing image centred.
Using "convert <image> -gravity center -extend 40x40 <newImage>" works but imposes a white background.
"convert <image> -gravity center -extend 40x40 -background none <newImage>" and
"convert <image> -gravity center -extend 40x40 -background transparent <newImage>" also imposes the background.
How do I do the extension without creating a white background?
Cheers,
STT
I have a folder of ~100 animated .gif images with various transparency colours that I wish to enlarge into 40x40 images with the existing image centred.
Using "convert <image> -gravity center -extend 40x40 <newImage>" works but imposes a white background.
"convert <image> -gravity center -extend 40x40 -background none <newImage>" and
"convert <image> -gravity center -extend 40x40 -background transparent <newImage>" also imposes the background.
How do I do the extension without creating a white background?
Cheers,
STT