Re: DigiCam utils
On Wed, Nov 07, 2001 at 06:31:31AM -0800, Pavel Epifanov wrote:
> (I appreciate answers in Russian)
>
> Dear All,
>
> If somebody has played with simple JPG image processing like:
>
> = rotate JPG +/-90 degrees
> = convert to a smaller one 2000x1500 -> 640x480 -> 120x80
> = changing sharpness and brightness
> = save a piece of image to another JPG file
apt-get install perlmagick
links /usr/share/doc/imagemagick/html/www/perl.html
ls /usr/share/doc/perlmagick/examples/demo/
#!/usr/bin/perl
$q=Image::Magick->new;
$q->Read('image.jpeg');
$q->Rotate(-90);
$q->Resize(width=>640, height=>480);
$q->Sharpen(geometry=>???,radius=>3,sigma=>1);
$q->Modulate(brightness=>80);
$q->Crop(geometry=>'100x100"+1"00"+1"00');
$q->Write('image-out.jpeg')
Можно и в perl-gimp, но IMHO медленнее и менее наглядно
>
> There is also a dream about rotating (+/-90 degrees) of QuickTime movie (AVI
> 320x240). But I don't think this is possible at all.
Можно но ме-е-е-е-е-дленно
Reply to: