Imager - jpg format is not supported

Posted on Tue Jan 2 17:53:54 2007 by jfro
jpg format is not supported
Hello Folks, i try to use Imager for a simple task. Create an image and save it to a jp(e)g file. My code (taken from the examples, simply modified) looks like this:
#C:\Perl\bin\perl.exe -w use strict; use Imager; my $image = Imager->new(xsize => 100, ysize => 100); $image->write(file=>'foo.jpg', jpegquality=>90) or die $image->errstr;
I get only the message "format not supported". As I ran the script
print join " ", keys %Imager::formats;
i got many formats, but not the jpg. So my question is how can I add the ability to work proper with jpg files? My perl version is "v5.8.8 built for MSWin32-x86-multi-thread" from ActiveState. If you need other additional informations, please ask, I will give you an response immediately. Kind regards, jfro
Direct Responses: 4047 | Write a response