Re: HI Can u help me

2002-10-07 Thread david
[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

Re: HI Can u help me

2002-10-07 Thread zentara
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. ###

HI Can u help me

2002-10-06 Thread [EMAIL PROTECTED]
Hello Is there a function to test if a given.jpg file is a valid jpg file? thanks