Bill Moseley on  wrote...
| On Thu, Jul 31, 2008 at 02:01:15PM +1000, Anthony Thyssen wrote:
| > Create the image using the above then 'Splice()' some extra space below
| > that with gravity South.
| 
| I'm close.  Below adds the padding, but the background is black,
| not transparent.
| 
|     $p->Read( @images );
| 
|     $p->Splice(
|         width => 0,
|         height => 50,
|         gravity => 'South',
|         background => 'none',
|     );
| 
|     my $m = $p->Montage(
|         mode => 'Concatenate',
|         tile => '1x',
|         background => 'none',
|     );
| 
|     $m->Write( 'foo.gif' );
| 
| http://www.imagemagick.org/script/perl-magick.php shows
| "background" as a possible attribute to Splice.
| 
| Am I doing something wrong?
| 
If it is black, you must turn on the alpha/matte channel in the image!

Warning GIF transpareny is purely an on/off boolean transparency.


  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
  Data: `` I could be chasing an untamed ornithoid without just cause! ''
  Dr Crusher: `` Errr... A wild goose chase? ''
                             --- StarTrek New Generations, ``Data's Day''
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to