New Post: modifying either width or height?
The trick to do is in ImageMagick is by specifying a with or height that is zero for the value that you want to have calculated. An image with a height of zero pixels is not that useful so that is why...
View ArticleNew Post: update tags/keywords in all (xmp, exif, iptc) profiles..
nuget Magick.NET-q16-anyCPU version 6.8.9.601 greetings...as the title suggest, i am trying to update all the "tags/keywords" for a given jpg... my implementation does not give any errors, but the...
View ArticleNew Post: update tags/keywords in all (xmp, exif, iptc) profiles..
I don't see you calling image.Write() in your using block? All operations on the image are not saved until you write the image to disk again.
View ArticleNew Post: Quantization & Unique (Dominant) Colors
I'm trying to reduce the colors of an image to 8 dominant colors, and I have a picture of a rainbow here: I've got code like this:var qSettings = new QuantizeSettings { Colors = 8, DitherMethod =...
View ArticleNew Post: Quantization & Unique (Dominant) Colors
I have determined that the following IM command produces the same incorrect result: convert rainbow.png -dither None -colors 8 test2.png So I don't think the issue is with MagickNet, but I don't know...
View ArticleNew Post: Quantization & Unique (Dominant) Colors
To further this, I've found that Quantize inherently does not pick primary colors. I just wish there was some better way to figure this out. Photoshop can do it easily: Mode -> Indexed 8 colors...
View ArticleNew Post: Quantization & Unique (Dominant) Colors
If you want to use the most dominant colors you are probably better of using the map method:// Read source image.using (MagickImage image = new MagickImage(@"D:\images\png\rainbow.png")) { // Create...
View ArticleNew Post: Quantization & Unique (Dominant) Colors
Well, that works great for the rainbow, but fails for all my other "normal" cases, like a room scene or a grassy hill, where it just returns all browns or greens and nothing else. My ultimate goal is...
View ArticleNew Post: Quantization & Unique (Dominant) Colors
Maybe you should ask your question here: http://www.imagemagick.org/discourse-server/index.php? They might have some better ideas. I will help you translate it once we get the 'correct' command line...
View ArticleNew Post: Using Magick.NET DLL in a Windows Forms app for both 64bit and...
I have a Windows Forms app that uses Magick.NET DLL. I'm doing my development on a 64-bit Windows 7 platform. And my application runs perfectly. However I have a few users that are still on 32-bit...
View ArticleNew Post: Using Magick.NET DLL in a Windows Forms app for both 64bit and...
You should use the Magick.NET-AnyCPU.dll if you set your build to "AnyCPU". You can download the file "Magick.NET-7.0.0.0001-Q16-AnyCPU-net40-client.zip" or use the AnyCPU NuGet package.
View ArticleNew Post: Using Magick.NET DLL in a Windows Forms app for both 64bit and...
Thanks! That looks promising. But I'm still having trouble, I installed the package using NuGet. Now on my 64-bit dev machine I see Magick.NET-AnyCPU in my References. And I see Magick.NET-AnyCPU.dll...
View ArticleNew Post: Using Magick.NET DLL in a Windows Forms app for both 64bit and...
The Magick.NET AnyCPU library will use the Magick.NET-Q16-x86.dll or the Magick.NET-Q16-x64.dll library depending on your operating system. So it is correct that it is reporting an error about the...
View ArticleNew Post: Using Magick.NET DLL in a Windows Forms app for both 64bit and...
Yes, ClickOnce :-) sorry. I'll try that. Thanks!
View ArticleNew Post: Could not load file or assembly 'Magick.NET-x86.DLL' or one of its...
My application have been developed in visual studio 2010,using .net 4.Its a mvc3 application. I tried to add Magik.NET x86 dll,but it throws an error ,'Could not load file or assembly...
View ArticleNew Post: Could not load file or assembly 'Magick.NET-x86.DLL' or one of its...
The installation of the .NET 4.0: Visual C++ Redistributable for Visual Studio 2012 is not a recommendation, it is a requirement. It has nothing to do with the version of Visual Studio.
View ArticleNew Post: Convert 32bit PNG to 8bit/128colors PNG
hi all, orig png: 32bit/96dpi target png: 8bit/128colors/72dpi my code so far:using ImageMagick; ... using (MagickImage image = new MagickImage(origPATH)) { image.Format = MagickFormat.Png;...
View ArticleNew Post: Convert 32bit PNG to 8bit/128colors PNG
You are calling the wrong methods. You hardly ever need to use the SetDefine method.using (MagickImage image = new MagickImage(origPATH)) { image.Format = MagickFormat.Png;...
View ArticleNew Post: Convert 32bit PNG to 8bit/128colors PNG
thanks... but i want the target png in same dimensions with 72dpi input : 445x600px output: 56x72px
View ArticleNew Post: Convert 32bit PNG to 8bit/128colors PNG
You just want to set the DPI to 72? You can use the Density property for this.
View Article