[EMAIL PROTECTED] wrote:
> Hello Is there a function to test if a given.jpg file is a valid jpg file?
> thanks
if you don't want to install/load another module, try:
#!/usr/bin/perl -w
use strict;
if(is_jpeg('your file')){
print "it's a valie jpeg\n";
}else{
print "doesn't look
On Sun, 6 Oct 2002 14:18:53 -0300, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
>Hello Is there a function to test if a given.jpg file is a valid jpg file? thanks
You can use the "ping" method of Image:Majick and test whether
it gives an error.
###
Hello Is there a function to test if a given.jpg file is a valid jpg file? thanks