Search found 3 matches

by lulu116
2016-05-29T08:29:39-07:00
Forum: PerlMagick
Topic: converting RGB to HLS in PerlMagick
Replies: 0
Views: 21188

converting RGB to HLS in PerlMagick

hello I'm trying to do the equivalent of this command :
convert ima.jpg -colorspace HSV -separate tmp_separate_%d.gif
in Perl

I tried this :
$ima = Image::Magick->new;
$ima->Read("ima.jpg");
$ima->Quantize(colorspace=>'HSV');
$ima->Separate(channel=>'All');
$ima->Write("tmp_separate_%d.gif");
but ...
by lulu116
2016-03-10T03:18:33-07:00
Forum: PerlMagick
Topic: crop command not working
Replies: 2
Views: 16917

Re: crop command not working

thanks for your response

what I'm trying to do is something like that :
http://www.imagemagick.org/Usage/crop/#crop_equal
"As a bonus, you can also sub-divide the image so that each tile will 'overlap' its neighbours. You do this by not only using a '@' flag but also specifying the number of pixels ...
by lulu116
2016-03-09T11:54:21-07:00
Forum: PerlMagick
Topic: crop command not working
Replies: 2
Views: 16917

crop command not working

hello , first post here :)
I'm trying to crop a HD picture into a mosaic of overlapping pictures.
if I use convert : convert HD.jpg -crop 6x9+233+233@ tmp.gif it works perfectly
but inside a perl script it fails (ie I got only one picture with bad size)
code :
$HDIMAGE="HD.jpg";
$hd = Image ...