New Post: Convert tiff from RGB to CMYK
When converting between RGB and CMYK you should use color profiles. You can do that like this:using (MagickImage image = new MagickImage("agent-j-peck1Before.tif")) { image.AddProfile(new...
View ArticleNew Post: Convert tiff from RGB to CMYK
First off, thank you. Secondly here is my new code. I downloaded the color profile from the site above. I unzipped it into my project. But now I get an SEHException on the ColorSpace.CMYK line? using...
View ArticleNew Post: Convert tiff from RGB to CMYK
It seems ImageMagick is raising an exception. I will make sure this exception is caught an raised properly before the next release. You need to read the image before you add the profile and change the...
View ArticleNew Post: Convert tiff from RGB to CMYK
Oh, DUH! Stupid on my part. I had been moving them around trying to resolve the problem. That actually makes perfect sense. I flipped them around and it works perfectly now!!! Thanks so much!! By the...
View ArticleNew Post: Convert tiff from RGB to CMYK
First of all, thank you very much for your donation. I included a couple of color profiles within Magick.NET. With the next release you will be able to use ColorProfile.USWebCoatedSWOP or...
View ArticleNew Post: How is linearize RGB implemented with Magick.Net
convert 00001.tif -colorspace RGB -resample 72x72 -colorspace sRGB linearizeresample.jpg How can this be implemented with Magick.Netusing (MagickImage image = new MagickImage(path)) { // Linearize to...
View ArticleNew Post: How is linearize RGB implemented with Magick.Net
You are looking for the ColorSpace property of MagickImage image.ColorSpace = ColorSpace.RGB; // Resample image.ColorSpace = ColorSpace.sRGB;
View ArticleNew Post: svg to png - transparent background
hi dlemstra, i am trying to make the transparent background while converting an image from .tiff to .jpg, using Imagemagic, but it doesn't work for me. converting tiff to .png with transparent...
View ArticleNew Post: svg to png - transparent background
Can you define what you mean by 'it doesn't work for me'? And are you aware of the fact that jpg doesn't support transparency.
View ArticleNew Post: svg to png - transparent background
"it doesn't work for me" means if i take a tiff image with black background and try to change it in jpg with transparent background it create jpg with same black background. image file converted in png...
View ArticleNew Post: svg to png - transparent background
If you want a small jpg file you should choose a background color (e.g. Color.White). If you want to keep the transparency but get a small png file you can find some tips here:...
View ArticleNew Post: svg to png - transparent background
Thanks dlemstra. actually i need transparent background image, png is ok for me. do we have any method to create reduced size png in c#? or only the way to run the command line argument as you have...
View ArticleNew Post: svg to png - transparent background
You should 'translate' the command line arguments to methods/properties. For example '-colors 255' is this: MGKimage.QuantizeColors=255
View ArticleNew Post: svg to png - transparent background
Trying to make white background for an tif image, but getting the jpg with same black background as tiff. using the below code: using (MagickImage image = new MagickImage()) { image.BackgroundColor...
View ArticleNew Post: svg to png - transparent background
Have you tried setting the background after the read operation?
View ArticleNew Post: ARW format
Hi. I tried to convert a ARW image (Sony RAW format) and I got this error: $exception {"Magick: TIFF directory is missing required \"ImageLength\" field. `MissingRequired' @...
View ArticleNew Post: ARW format
Could you try this: MagickReadSettings settings = new MagickReadSettings(); settings.Format = MagickFormat.Crw; image.Read("yourimage.arw", settings);Please e-mail me your image if that doesn't work.
View ArticleNew Post: svg to png - transparent background
I tried to contact you through CodePlex, please contact me.
View Article