|
Posted by Ilya Zakharevich on November 8, 2006, 3:22 pm
Please log in for more thread options
[A complimentary Cc of this posting was sent to
Francesco Moi
> Hi.
>
> I want to load an image with GD, but I must know which type is each one
> in order to:
> my $srcimage = GD::Image->newFromGif("foo.gif");
> my $srcimage = GD::Image->newFromJpeg("foo.jpg");
> ...
>
> How can I detect it?
Do not. Let GD detect it.
Hope this helps,
Ilya
|