Wildcard image attribute dump

Bob Friesenhahn <[email protected]> Sun, 25 Sep 2005 22:27:27 -0500 (CDT)
Newsgroups gmane.comp.video.graphicsmagick.core
Message-ID <[email protected]>
The latest GM 1.2 snapshot is now able to handle wildcarded attribute 
dumps for things besides EXIF.  So now it is easy to dump DPX header 
attributes:

% gm identify 11step_16b_lin.dpx
11step_16b_lin.dpx DPX 4096x1713+0+0 DirectClass 16-bit 40.2m 0.000u 0:01
% gm identify -format '%[dpx:*]' 11step_16b_lin.dpx
DPX:file.version=V1.0
DPX:file.filename=Image filename
DPX:file.creation.datetime=2005:04:26:16:21:17
DPX:file.creator=Creator
DPX:file.project.name=Project name
DPX:file.copyright=Copyright info
DPX:image.orientation=0
DPX:source.device.name=SPIRIT-4K DATACINE
DPX:source.device.serialnumber=00099
DPX:mp.film.manufacturer.id=02
DPX:mp.film.type=42
DPX:mp.perfs.offset=04
DPX:mp.prefix=441777
DPX:mp.count=4937
DPX:mp.frame.position=12756
DPX:mp.held.count=1
DPX:mp.frame.rate=0
DPX:tv.time.code=00:08:51:12
DPX:tv.user.bits=00:00:00:00
DPX:user.data.id=Thomson BTS
% gm identify -format '%[dpx:tv.time.code]' 11step_16b_lin.dpx
00:08:51:12
% gm identify -format '%[dpx:tv.*]' 11step_16b_lin.dpx
DPX:tv.time.code=00:08:51:12
DPX:tv.user.bits=00:00:00:00

This is much faster than using 'gm identify -verbose'.

Bob
======================================
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php