Set My Own Software name to Creation Software property.
Set My Own Software name to Creation Software property.
Hi All.
I am using image magick library and visual C++ for my task.
I built image magick library with 16 bit.
I am loading TIF image with the following image properties.
Width:1828 pixels
Height:778 pixels
Horizontal resolution: 72 dpi
Vertical Resolution: 72 dpi
Bit depth: 0
Frame Count:1
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.write(FileName.GetBuffer(MAX_PATH+1));
After this my image properties will change into the following.
Width:1828 pixels
Height:778 pixels
Horizontal resolution: 72 dpi
Vertical Resolution: 72 dpi
Bit depth: 8
Frame Count: 1
Creation Software: Image Magick 6.62.
Here Creation Software Property was changed to ImageMagick 6.62.
How can i set My own Software name to creation Software property field?
Please any one help me.
Thanks in advance.
I am using image magick library and visual C++ for my task.
I built image magick library with 16 bit.
I am loading TIF image with the following image properties.
Width:1828 pixels
Height:778 pixels
Horizontal resolution: 72 dpi
Vertical Resolution: 72 dpi
Bit depth: 0
Frame Count:1
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.write(FileName.GetBuffer(MAX_PATH+1));
After this my image properties will change into the following.
Width:1828 pixels
Height:778 pixels
Horizontal resolution: 72 dpi
Vertical Resolution: 72 dpi
Bit depth: 8
Frame Count: 1
Creation Software: Image Magick 6.62.
Here Creation Software Property was changed to ImageMagick 6.62.
How can i set My own Software name to creation Software property field?
Please any one help me.
Thanks in advance.
Re: Set My Own Software name to Creation Software property.
I know virtually nothing about IM so I was waiting to see an answer. But since its been a while...
In a pinch you might try running a text search and replace (that doesn't mind binary files) and replace that "Image Magick 6.62" in the binary file with new text exactly the same length. Even if there's a checksum for that part of the TIF data (no idea if there is) you might still be able to read and/or repair it with a forgiving image reader. Yes, this isn't they way you'd want to do it in the big city.
In a pinch you might try running a text search and replace (that doesn't mind binary files) and replace that "Image Magick 6.62" in the binary file with new text exactly the same length. Even if there's a checksum for that part of the TIF data (no idea if there is) you might still be able to read and/or repair it with a forgiving image reader. Yes, this isn't they way you'd want to do it in the big city.
Re: Set My Own Software name to Creation Software property.
Look for a patch in ImageMagick 6.6.4-3 Beta that supports -set tiff:software "My Company".
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Set My Own Software name to Creation Software property.
that is a syntax error it shoudl be...
-define tiff:software="My Software"
However you can also use -set which allows you to use image attribute percent escapes too
-set option:tiff:software "My Image %wx%h"
Hmmm, can we have a %[version] percent escape for the current IM version number?
-define tiff:software="My Software"
However you can also use -set which allows you to use image attribute percent escapes too
-set option:tiff:software "My Image %wx%h"
Hmmm, can we have a %[version] percent escape for the current IM version number?
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: Set My Own Software name to Creation Software property.
Thanks for your replies.
But I Have Only ImageMagick-6.6.2 version,Please tell me how can i update or install ImageMagick 6.6.4-3 Beta Patch.
But I Have Only ImageMagick-6.6.2 version,Please tell me how can i update or install ImageMagick 6.6.4-3 Beta Patch.
Re: Set My Own Software name to Creation Software property.
I searched for ImageMagick 6.6.4-3 ,But the latest release of ImageMagick version 6.6.4-2. is Only available in ImageMagick Website.
Can any one please help to get ImageMagick 6.6.4-3.version. And How can i install this?
Can any one please help to get ImageMagick 6.6.4-3.version. And How can i install this?
Re: Set My Own Software name to Creation Software property.
ImageMagick 6.6.4-3 is a Beta release. It will be a week or two before its a production release. You can find the Beta here: ftp://ftp.imagemagick.org/pub/ImageMagick/beta.
Re: Set My Own Software name to Creation Software property.
Setting a custom "Software" tag in TIFF works in the latest IM versions. With '-set tiff:software "text"'. Thanks for that. (By the way: With '-define', it doesn't work for me.)
But the 'normal' ImageMagick version string that usually got created with commands like "convert logo: logo.tif" has disappeared now. Was this intended? Just curious..
But the 'normal' ImageMagick version string that usually got created with commands like "convert logo: logo.tif" has disappeared now. Was this intended? Just curious..
Re: Set My Own Software name to Creation Software property.
Thanks for your replies..
But i am working on VC++ language not on script language.
Please help me in this code in VC++ programming.
But i am working on VC++ language not on script language.
Please help me in this code in VC++ programming.
Re: Set My Own Software name to Creation Software property.
Hi All..
I downloaded ImageMagick-6.6.2 version from www.imagemagick.org.
I can unpack the distribution with WinZip.
Next, launch Visual Studio IDE and choose Open->Project. Select the configure workspace from the ImageMagick-6.6.2/VisualMagick/configure folder and press Open. Choose Build->Build Solution to compile the program and on completion run the program.
Press Next and click on the multi-threaded static build. I am using Visual Studio 8. Now press, on Next twice and finally Finish. The configuration utility just created a workspace required to build ImageMagick from source. Choose Open->Project and select the VisualStaticMT workspace from the ImageMagick-6.6.2/VisualMagick/ folder. Finally, choose Build->Build Solution to compile and build the ImageMagick distribution.
But in ImageMagick-6.6.4-3 version, VisualMagick folder is not available then how can i install this version on my windows.
And How can i know the detail explanation about this ImageMagick 6.6.4-3 Beta version?
"Look for a patch in ImageMagick 6.6.4-3 Beta that supports -define tiff:software "My Company"."
From above line, what is the meaning of 'patch' And How can i write this ("-define tiff:software "My Company"") code in my VC++ programming.
I downloaded ImageMagick-6.6.2 version from www.imagemagick.org.
I can unpack the distribution with WinZip.
Next, launch Visual Studio IDE and choose Open->Project. Select the configure workspace from the ImageMagick-6.6.2/VisualMagick/configure folder and press Open. Choose Build->Build Solution to compile the program and on completion run the program.
Press Next and click on the multi-threaded static build. I am using Visual Studio 8. Now press, on Next twice and finally Finish. The configuration utility just created a workspace required to build ImageMagick from source. Choose Open->Project and select the VisualStaticMT workspace from the ImageMagick-6.6.2/VisualMagick/ folder. Finally, choose Build->Build Solution to compile and build the ImageMagick distribution.
But in ImageMagick-6.6.4-3 version, VisualMagick folder is not available then how can i install this version on my windows.
And How can i know the detail explanation about this ImageMagick 6.6.4-3 Beta version?
"Look for a patch in ImageMagick 6.6.4-3 Beta that supports -define tiff:software "My Company"."
From above line, what is the meaning of 'patch' And How can i write this ("-define tiff:software "My Company"") code in my VC++ programming.
Re: Set My Own Software name to Creation Software property.
As I said: Even on the commandline, "-define tiff:software="My Company"" doesn't work at the moment. But "-set tiff:software "My Company"" works. (Well, at least with my installation of the regular Win32 Q16 binary of version 6.6.4-4.)
Visual C++? Hmm.. The syntax from Magick++? If yes, then maybe something like "image.attribute("tiff:software", "My Company");" could be the equivalent. But that's just a guess. Someone who's actually using Magick++/VC++ should give the hints for that.
Visual C++? Hmm.. The syntax from Magick++? If yes, then maybe something like "image.attribute("tiff:software", "My Company");" could be the equivalent. But that's just a guess. Someone who's actually using Magick++/VC++ should give the hints for that.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Set My Own Software name to Creation Software property.
Applogies, It was defined as a per image attribute (properity) rather than as a global 'artifact' for all images.
That is the differnece between -set and -define (or the -set option:... equivelent)
See IM Examples, Basics, Image Properities and Artifacts
http://www.imagemagick.org/Usage/basics/#define
Basically it means that that specific setting can be different for each images in memory. (like labels, delay and dispose settings).
That is the differnece between -set and -define (or the -set option:... equivelent)
See IM Examples, Basics, Image Properities and Artifacts
http://www.imagemagick.org/Usage/basics/#define
Basically it means that that specific setting can be different for each images in memory. (like labels, delay and dispose settings).
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: Set My Own Software name to Creation Software property.
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.
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.
Re: Set My Own Software name to Creation Software property.
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.
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.
Re: Set My Own Software name to Creation Software property.
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.
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.