New Post: Complementary Colour for Image
I also figured out to try something like: image.Modulate(new ImageMagick.Percentage(100), new ImageMagick.Percentage(100), new ImageMagick.Percentage(0)); but it doesn't give the expected results. Is...
View ArticleNew Post: Complementary Colour for Image
Starting with Magick.NET 7.0.4.100 (just released) you can do this: MagickColor fillColor; using (MagickImage image = new MagickImage("Waffle.jpg")) { image.Scale(new MagickGeometry("1x1!")); using...
View ArticleNew Post: JPEG-2000 encoder does not respect ColorSpace changes
I have replied to your issue, hope that will help you.
View ArticleNew Post: Complementary Colour for Image
Nice addition. Thanks. I'm now thinking that some of the 'unexpected' results I saw earlier were due to a 'traditional' thinking about complementary colors (aka RYB colorspace) - I still feel the best...
View ArticleNew Post: Complementary Colour for Image
The determination of the complementary color is done in C# code so please let me know if improvements can be made. This is not part of the ImageMagick library and I used the implementation referenced...
View ArticleNew Post: Complementary Colour for Image
Yes, think there could be a problem - see this image: http://imgur.com/a/VNIa6 Added this to my code: using (PixelCollection pixels = image5.GetPixels()) { ColorRGB average = pixels.GetPixel(0,...
View ArticleNew Post: Complementary Colour for Image
It looks like there was something wrong in the RGB to HSV conversion code. The following test now passes: ColorRGB green = new MagickColor("#9aa01e"); ColorRGB blue = green.ComplementaryColor();...
View ArticleNew Post: Clone an existing image to a new one
Hello everyone. I've searched a bit around the discussions\forums, but i couldn't find much information about how to achieve what i'm trying. Also, i don't see much Magick.NET documentation - where i...
View ArticleNew Post: Clone an existing image to a new one
What you could do is extend the image: MagickColor background = MagickColors.Fuchsia; Gravity gravity = Gravity.Center; loadedImage.Extent(zoneAreaWidth_Pixels, zoneAreaHeight_Pixels, gravity,...
View ArticleNew Post: How to write Background?
Hello. I'm beginner. I have a problem. I want to do this ImageMagick command with Magick.NET.convert hoge.psd -set dispose Background -coalesce -delete 0 fuga_%04d.png This command is written here...
View ArticleNew Post: How to write Background?
The command -set dispose Background will set the gif dispose method to background dispose. You will need to do this instead:using ImageMagick; namespace psd { class Program { staticvoid Main(string[]...
View ArticleNew Post: How to write Background?
Thank you very much\(≧▽≦)ノ I could do something I wanted to do. Thank you for your help.
View ArticleNew Post: Convert Pdf to Dcx just black and white color
Can you please give me a short code snippet (c#) what to do to convert a pdf File to a dcx with just black and white color. In older day I used command line option "convert.exe -map Colormap.pcx". Now...
View ArticleNew Post: Convert Pdf to Dcx just black and white color
Do you want to use a colormap or do you just want to reduce it to black and white? Does your Colormap.pcx file only contain black and white?
View ArticleNew Post: Increase DPI from 72 to 300 does not work
What is the correct way to increase DPI from 72 to 300. This is what I am trying. Int32 density = 300; using (MagickImage resize = new MagickImage(folder + filename)) { resize.Density = new...
View ArticleNew Post: Increase DPI from 72 to 300 does not work
Your code looks correct. Can you add a link to an input image that I can use for testing? And what is the issue that you are having?
View ArticleNew Post: Convert Pdf to Dcx just black and white color
I just want to reduce it to black and white to make it ready to be sent via fax. I don't need to use a colormap better would be via source code.
View ArticleNew Post: Convert Pdf to Dcx just black and white color
Doing image.ColorType = ColorType.Bilevel; will probably be sufficient in your case. Can you give that a try?
View ArticleNew Post: How do I update a preview window from imagemagick?
I am writing a program that takes a string from a textedit box, does imagemagick voodoo on it, but when it generates it, it saves the file as foo.png and a preview panel control loads foo.png. it works...
View ArticleNew Post: How do I update a preview window from imagemagick?
This is the error thrown:Exception thrown: 'ImageMagick.MagickCoderErrorException' in Magick.NET-Q8-x64.dll Exception type ImageMagick.MagickCoderErrorException Exception message: WriteBlob Failed...
View Article