I am new to ImageMagick
and I am using MagickNet.
With ImageMagick, I could use option -strip
or -profile '*'
with convert
command to remove profiles.
And in MagickNet, I found some properties and functions releated to profiles, such as EXIFProfile
, set_Profile
.
To remove profiles, I used them like this:
// to remove profiles from SourceImage and SourceBlob
SourceImage.EXIFProfile = new Blob();
using (MagickNet.Image image = new MagickNet.Image())
{
image.set_Profile( "*", SourceBlob );
}
But,the result of the image was the same,why?
And,how to remove profiles with MagickNet.
Thanks in advance.