Deal all,
What's the different between MagickSetImage(functions) and MagickSet(functions)!
ex: function name with image or without image
MagickSetImageColorspace() and MagickSetColorspace()
thanks a lot.
Diuming
About MagickSetImage(functions) and MagickSet(functions)
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: About MagickSetImage(functions) and MagickSet(functions)
I am not certain what the difference is, but looking at the documentation, I think MagickSetColorspace() only changes the setting in a 'wand' (perhaps for creating new images) while MagickSetImageColorspace() changes the setting in an existing image. Not absolutely sure. Anyone else who actually uses MagickWand like to answer?
But in magickCore SetImageColorspace() is the equivalent of -set colorspace
So I think MagickSetImageColorspace is what you want.
That is just set the image->colorspace Image structure element without actually changing or modifying the actual image data.
But in magickCore SetImageColorspace() is the equivalent of -set colorspace
So I think MagickSetImageColorspace is what you want.
That is just set the image->colorspace Image structure element without actually changing or modifying the actual image data.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
-
- Posts: 1015
- Joined: 2005-03-21T21:16:57-07:00
Re: About MagickSetImage(functions) and MagickSet(functions)
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
See my message in this topic for a link to a zip of all the files.
Re: About MagickSetImage(functions) and MagickSet(functions)
You are provide very useful information!
Thanks Pete
Diuming
Thanks Pete
Diuming