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
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
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
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'