-Original Message-
From: Gretar Mar Hreggvidsson [mailto:[EMAIL PROTECTED]
Sent: Monday, August 28, 2006 6:41 PM
To: Nagasamudram, Prasanna Kumar
Cc: beginners@perl.org
Subject: Re: Image split
But If I change the following line
$img-read(file='p.bmp', type='bmp') or die $img
Hi
I would probably use the module Imager (see CPAN), and it's crop()
function. The function doesn't modify the source, it returns a new,
cropped image based on the coordinates you submit to it.
Best regards,
Grétar Mar
Nagasamudram, Prasanna Kumar wrote:
Hi All
Can anybody suggest
-Original Message-
From: Gretar Mar Hreggvidsson [mailto:[EMAIL PROTECTED]
Sent: Monday, August 28, 2006 5:29 PM
To: Nagasamudram, Prasanna Kumar
Cc: beginners@perl.org
Subject: Re: Image split
Hi
I would probably use the module Imager (see CPAN), and it's crop()
function
But If I change the following line
$img-read(file='p.bmp', type='bmp') or die $img-errstr();
TO
$img-read(file='p.jpg', type='jpg') or die $img-errstr();
I get the following error.
format 'jpg' not supported at i.pl line 4.
The same is for other formatsexcept bmp.