Further note:  you can get any number of attributes of an immage in
one call to ImageMagickObject identify method, e.g.

local img = com.create_object("ImageMagickObject.MagickImage.1")

local msgs = img.identify("-format", "%k %l %m %x %y %z
%[EXIF:FocalLength] %[EXIF:DateTime]", <path_to_file>)

 
Of course you can do exactly the same using ImageMagick identify.exe



Reply via email to