translated equivalent?

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
kaptincho
Posts: 2
Joined: 2012-05-20T10:43:28-07:00
Authentication code: 13

translated equivalent?

Post by kaptincho »

Hi, I'm trying to insert an animated gif into a new layer and can not find how to translate to API PerlMagick someone could translate it? thanks

Code: Select all

convert -size 500x500 xc:black null: \( a.gif -coalesce \) -geometry +0+40 -layers composite out.gif
salu2!
kaptincho
Posts: 2
Joined: 2012-05-20T10:43:28-07:00
Authentication code: 13

Re: translated equivalent?

Post by kaptincho »

I finally made ​​with the same command prompt, but is there any way to speed up the process to process multiple layers at once? thank you
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: translated equivalent?

Post by anthony »

Depends on the images.

If the images contain transparency and are already 500x500 pixels, then just use -background black -alpha remove to remove the transparency from the coalesced images.

In API's the \( .. \) is just a new 'magick wand, or image sequence and -coalease is a shell api short cut for -layers coalesce
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply