Any ImageMagick Gurus out there? I need HELP!



Ok, I am pulling what is left of my hair out on this one.

I am trying to make a hit counter where the numbers are overlaid onto a
background image.

I have the numbers 0,1, 2...9 saved as individual GIF images with a
color set to be the transparent background color. The background is a
GIF without any transparent color definition.

When I composite the number images to the background, the transparent
color shows up as white rather than displaying the background.

I am using CorelDraw12 to create the GIF images.

Here is my code:

$hits="001486";

for ($i = 0; $i <= 6; $i++) {
$numbers->Read( . "num-" . substr($hits, $i, 1) . ".gif");
}
$numbers = $numbers->montage(tile=>"7x1", mode=>"Concatenate");

$counter->Read("background.gif");
$counter->Composite(image=>$numbers, compose=>'over',x=>10, y=>10);

binmode STDOUT;
print "Content-type: image/gif\n\n";
$counter->Write("gif:-");

Any clue why this would not work?
Thanks for the help

Ion

.



Relevant Pages

  • How we can handle transparency when resizing an GIF image in JAVA
    ... I'm working on a image processing program which do resizing JPG, PNG, ... I did the PNG and JPG image resizing part without any problem. ... but when i tried to resize transparent GIF images i still ... I can resize transparent GIF image but when i resized it, ...
    (comp.lang.java.programmer)
  • Resize transparent gif images
    ... When I'm resizing .gif images in my asp.net application the transparent ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Transparent GIF Images, Button Colors
    ... How come icons, GIF images in Microsoft Visual Studio.Net 2003 for the ... Pocket PC can not go transparent? ... I can't even set the background form to transparent... ...
    (microsoft.public.pocketpc.developer)