[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
graphics/p5-PerlMagick on recent OpenBSD versions.
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: graphics/p5-PerlMagick on recent OpenBSD versions.
- From: Dan Brosemer <odin_(_at_)_svartalfheim_(_dot_)_net>
- Date: Tue, 6 Apr 2004 22:48:55 -0401
- Battlestar-galactica-date: 43649 centons, 21 microns, 11.11 lutefisk
- Mail-followup-to: misc_(_at_)_openbsd_(_dot_)_org
Does anyone else use this port? On both 3.4-stable/i386 and
3.5-current/i386, I don't seem to be able to write files with it (test
script and output follow).
The test script shows an attempt to write to a png, but the same error
occurs when writing to a jpg, and also when writing to an open filehandle
with the \*FILE construct.
If anyone has better luck, I'd appreciate hearing what mojo this takes.
Thanks in advance.
-Dan
odin_(_at_)_akbar:p1[~]$ cat doit.pl
#!/usr/bin/perl -w
use Image::Magick;
my $image = Image::Magick->new;
$x = $image->Read("jpg:orig.jpg");
warn "$x" if $x;
$x = $image->Write("png:out150.png");
warn "$x" if $x;
odin_(_at_)_akbar:p1[~]$ ./doit.pl
libpng-1.2.5 error: Write Exception
Warning 325: An error has occurred writing to file (out150.png) at ./doit.pl line 8.
--
"Burnished gallows set with red
Caress the fevered, empty mind
Of man who hangs bloodied and blind
To reach for wisdom, not for bread." -- Deoridhe Grimsdaughter
Visit your host, monkey.org