Search found 1 match

by ralph058
2016-03-03T12:02:19-07:00
Forum: Magick++
Topic: image.attribute invalid argument
Replies: 1
Views: 9976

image.attribute invalid argument

Hi
I am attempting to use Magick++ image.attribute("Lens:") to extract the same string as is displayed with

identify -verbose L_Cam_1263.png | grep "Lens:"

I believe the c++ code that I need is

string metaLens;
InitializeMagick("");
Magick::Image imgMeta(imageFileName);
metaLens = imgMeta ...