use Image::Magick; my $rc; my $img = Image::Magick->new(); $rc = $img->Read('file.png'); die "$rc\n" if $rc; $rc = $img->Write('file.jpeg'); die "$rc\n" if $rc;
In reply to Re: Converting PNG to JPEG
by cmilfo
in thread Converting PNG to JPEG
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |