Re: Checking the intregity of .jpeg files

2013-10-21 Thread Alexander Hall
On 10/21/13 09:25, STeve Andre' wrote: Most cool, thank you. I can use a 'for i in ...' around it, and watch for any output which is an error. Very useful; thanks again. It should be $ convert image.jpg /dev/null 2> /dev/null though... ^--- Note Oneliner on the fly (wel

Re: Checking the intregity of .jpeg files

2013-10-21 Thread STeve Andre'
Most cool, thank you. I can use a 'for i in ...' around it, and watch for any output which is an error. Very useful; thanks again. --STeve Andre' On 10/20/13 23:57, Andy Hayward wrote: Use convert from ImageMagick. $ convert image.jpg /dev/null &> /dev/null ; echo $? Should display 0 for va

Re: Checking the intregity of .jpeg files

2013-10-20 Thread Andy Hayward
Use convert from ImageMagick. $ convert image.jpg /dev/null &> /dev/null ; echo $? Should display 0 for valid files, 1 for corrupt files. On Sat, Oct 19, 2013 at 2:19 AM, STeve Andre' wrote: > Is there such a program in the ports tree? I thought there was, > but I can't find it. I have a f

Checking the intregity of .jpeg files

2013-10-19 Thread STeve Andre'
Is there such a program in the ports tree? I thought there was, but I can't find it. I have a few corrupted jpeg's and I'd like to be able to easily test them. Thanks, STeve Andre'