[magick-users] Out today Magick-users Digest, Vol 43, Issue 12
jerry stern
jstern at competitrack.com
Thu Jul 13 11:32:19 PDT 2006
I am out of the office July 12 through July 14. Please send all email requests to Ssteinberg at competitrack.comSend Magick-users mailing list submissions to
magick-users at imagemagick.org
To subscribe or unsubscribe via the World Wide Web, visit
http://studio.imagemagick.org/mailman/listinfo/magick-users
or, via email, send a message with subject or body 'help' to
magick-users-request at imagemagick.org
You can reach the person managing the list at
magick-users-owner at imagemagick.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Magick-users digest..."
Today's Topics:
1. Problem: Unable to set image depth via Perl (Ron Savage)
2. -clip-path option does not seem to work (Lindemann, Timo)
----------------------------------------------------------------------
Message: 1
Date: Thu, 13 Jul 2006 11:58:20 +1000
From: Ron Savage <ron at savage.net.au>
Subject: [magick-users] Problem: Unable to set image depth via Perl
To: List - ImageMagick Users <magick-users at imagemagick.org>
Message-ID: <2006713115820.218080 at MONASH-7ADADE6D>
Content-Type: text/plain; charset=iso-8859-1
Hi Folks
Program:
-----><8-----
#!/usr/bin/perl
use Image::Magick;
# ----------------
print "Image::Magick V $Image::Magick::VERSION. \n";
my($image) = Image::Magick -> new(size => '100x100');
my($result) = $image -> Read('xc:white');
die $result if $result;
my($depth) = $image -> Get('depth');
print "Depth: $depth. \n";
$result = $image -> Draw
(
primitive => 'polyline',
stroke => 'red',
points => '20,30 40,80 50,90 20,30',
);
die $result if $result;
$depth = $image -> Get('depth');
print "Depth: $depth. \n";
print "Set depth to 4. \n";
$image -> Set(depth => 4);
$depth = $image -> Get('depth');
print "Depth: $depth. \n";
-----><8-----
Output:
-----><8-----
Image::Magick V 6.2.8.
Depth: 1.
Depth: 8.
Set depth to 4.
Depth: 8.
-----><8-----
Firstly, any ideas why this code does not set the image depth?
Secondly, it'd be good to have access to a variable like
$Image::Magick::VERSION, eg: $Image::Magick::QUANTUM, which would return the
quantum depth at which the package was compiled, to match the Q8/Q16 displayed
by the command line programs.
--
Ron Savage
ron at savage.net.au
http://savage.net.au/index.html
------------------------------
Message: 2
Date: Thu, 13 Jul 2006 10:45:22 +0200
From: "Lindemann, Timo" <Timo.Lindemann at dts.de>
Subject: [magick-users] -clip-path option does not seem to work
To: <magick-users at imagemagick.org>
Message-ID:
<83954A4F17AC5B42ACA090012A3E804F670B6B at globalex1.dts.global>
Content-Type: text/plain; charset="US-ASCII"
Hello,
the manual page of convert says, that the option "-clip-path id" would
"clip along a named path from the 8BIM profile". Actually it does not
seem to work.
The outputfile looks just like the inputfile.
My command-line looks like this:
convert inputfile.psd -clip-path "pathname" outfile
Maybe you can help me, to find out what I'm making wrong or whether it
is a bug?
I tried this with IM-versions from 6.2.6 to 6.2.8
Regards,
Timo
------------------------------
_______________________________________________
Magick-users mailing list
Magick-users at imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-users
End of Magick-users Digest, Vol 43, Issue 12
********************************************
More information about the Magick-users
mailing list