For example:
Code: Select all
image.attribute( "EXIF:Software", "hello world" );
Is it possible to set EXIF data using Magick++ ?
Code: Select all
image.attribute( "EXIF:Software", "hello world" );
Is there any progress in having Magick++ writing Exif (or XMP or IPTC) metadata to file?Magick++ updates a few EXIF attributes internally such as the image resolution and orientation. Currently it does not support user specified EXIF attributes.
Code: Select all
Magick::Image image
image.defineValue( "dpx", "file.creator", "Julie Santerre" );
image.read( inputFilename );
image.write( outputFilename );
Code: Select all
Magick::Image image
image.defineValue( "dpx", "file.creator", "Julie Santerre" );
image.read( inputFilename );
image.write( outputFilename );
Code: Select all
Image img("test_file.dpx");
std::string creator = img.attribute("dpx:file.creator");
std::cout << creator;
img.artifact("dpx:file.creator", "Julie Santerre");
img.write("test_file_julie.dpx");
Image julie("test_file_julie.dpx");
creator = julie.attribute("dpx:file.creator");
std::cout << creator;