Somehow, I am getting an error. I will show the commands and
the errors then I will list the images info extarcted by
'exiftool .'
<code>
exiftool -if '$imagewidth < 600' .
File not found: $imagewidth < 600
======== ./ksi-2131.jpg
======== ./ksi-2132.jpg
======== ./ksi-2134.jpg
======== ./ksi-2139.jpg
1 directories scanned
4 image files read
</code>
hmmm! I have images with witdh < 600. Why 'file not
found'?
<code>
exiftool -if '$imagesize and ($imagewidth<700 or
$imageheight<700)' -q -t -S -filename -r .
File not found: $imagesize and ($imagewidth<700 or
$imageheight<700)
ksi-2131.jpg
ksi-2132.jpg
ksi-2134.jpg
ksi-2139.jpg
</code>
why not?
<code>
======== ksi-2131.jpg
ExifTool Version Number : 6.00
File Name : ksi-2131.jpg
File Size : 128 kB
File Modification Date/Time : 2007:01:06 22:08:56
File Type : JPEG
MIME Type : image/jpeg
JFIF Version : 1.1
Resolution Unit : inches
X Resolution : 96
Y Resolution : 96
Image Width : 274
Image Height : 418
Image Size : 274x418
======== ksi-2132.jpg
ExifTool Version Number : 6.00
File Name : ksi-2132.jpg
File Size : 92 kB
File Modification Date/Time : 2007:01:06 22:16:58
File Type : JPEG
MIME Type : image/jpeg
JFIF Version : 1.1
Resolution Unit : None
X Resolution : 1
Y Resolution : 1
Image Width : 936
Image Height : 700
Image Size : 936x700
======== ksi-2134.jpg
ExifTool Version Number : 6.00
File Name : ksi-2134.jpg
File Size : 94 kB
File Modification Date/Time : 2007:01:06 22:04:57
File Type : JPEG
MIME Type : image/jpeg
JFIF Version : 1.2
Resolution Unit : inches
X Resolution : 300
Y Resolution : 300
Image Width : 600
Image Height : 480
Image Size : 600x480
======== ksi-2139.jpg
ExifTool Version Number : 6.00
File Name : ksi-2139.jpg
File Size : 847 kB
File Modification Date/Time : 2007:01:06 22:04:57
File Type : JPEG
MIME Type : image/jpeg
JFIF Version : 1.2
Resolution Unit : inches
X Resolution : 300
Y Resolution : 300
Image Width : 1534
Image Height : 1350
Image Size : 1534x1350
4 image files read
</code>
To write a respons, access
http://ww
w.cpanforum.com/response_form/3983
To see the full thread, access
http://www.cpan
forum.com/threads/3979
--
You are getting this messages from www.cpanforum.com
To change your subscription information visit http://www.cpanforum.
com/mypan/
|