set creation software property for all image formats

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
wizards
Posts: 46
Joined: 2008-12-05T06:31:55-07:00

set creation software property for all image formats

Post by wizards »

Hi All.

I am using image magick library and visual C++ for my task.

I built image magick library (Image magick 6.6.5)with 16 bit.

I am loading TIF image with the following image property.

Creation Software: Adobe Photo shop CS2 Windows.

After that i am applying some changes to image and then save image with the following code.

m_Image.attribute( "tiff:Software", "company name" );
m_Image.write(FileName.GetBuffer(MAX_PATH+1));

After this my image property will change into the following.

Creation Software:company name.

The above code "m_Image.attribute( "tiff:Software", "company name" );" is working good only for tiff images.

How can i change same property for all image formats.i.e JPEG, DPx,PNG,BMP or GIFF etc.

Please help me anyone to get this solution.

Thanks in advance.
Post Reply