On Fri, 18 Jul 2003, andy law (RI) wrote:
> Anyone using the above combination to create image files (or do anything else for
> that matter)?
>
> I did some prototyping work in December and all worked fine. Now the same code does
> not work anymore. ImageMagick has presumably been upgraded during an update-all.
>
> I have OSX 10.2.6
>
> Fink Commander reports ImageMagick to be 5.5.6-1 and perlmagick-pm to be 5.5.4-2
> although perlmagick-pm560 is apparently 5.5.4-3.
>
> Running the example script...
>
> #!/usr/bin/perl -w
> use Image::Magick;
> $image = Image::Magick->new;
> $image->Set('size'=>'100x100');
> $image->ReadImage('xc:white');
> $image->Set('pixel[49,49]'=>'red');
> $image->Write('filename'=>'./abc.gif');
>
> results in no errors and no output.
>
> The same thing with a Draw command instead of a Set pixel command causes an
> exception with 'No image defined'?
>
> Any clues?
Andy: I updated the perlmagick-pm560 package in unstable to 5.5.6 and now
your example script works fine.
Unfortunately, the ImageMagick folks like to change their API about every
release.
-Jeff
--
Jeffrey S. Whitaker Phone : (303)497-6313
NOAA/OAR/CDC R/CDC1 FAX : (303)497-6449
325 Broadway Web : http://www.cdc.noaa.gov/~jsw
Boulder, CO, USA 80305-3328 Office: Skaggs Research Cntr 1D-124
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users