Page 1 of 1

Get the image number

Posted: 2016-07-19T00:56:31-07:00
by cedk
Hello,

I gonna buy a camera and I want to be sure of how many pitcures was taken. I've read that 'identify' could return it. The page http://www.imagemagick.org/script/identify.php says
The information returned includes the image number ...
.
But I can find it in the command return, even with "-verbose".
Could you help me ?

Thanks

Re: Get the image number

Posted: 2016-07-19T01:33:07-07:00
by snibgo
I don't know what that "image number" is. If you want to know the number of photos that camera has taken, the file may contain a "ShutterCount" field, which exiftool can tell you:

Code: Select all

f:\web\im>exiftool -ShutterCount aga_2996.nef

Shutter Count                   : 3152

Re: Get the image number

Posted: 2016-07-19T03:19:36-07:00
by cedk
Thnaks, that's exactly what I was looking for :-) !
I thought that IM could answer me... but it's OK
Regards

Re: Get the image number

Posted: 2016-07-19T04:13:06-07:00
by snibgo
Quite possibly you can also get it from ImageMagick, with some strange incantation. But for metadata that isn't directly concerned with images, I prefer exiftool.