New Post: Extract main colors from an image
How do I extract main colors form an image and then map to a color map? convert original.jpg -dither None -map colors.bmp converted.bmp convert converted.bmp -format %c histogram:info:-
View ArticleNew Post: Extract main colors from an image
Your console command looks different from what you are asking. Do you want to get the primary colors of the image so you can get the colors.bmp file? Or do you just want to change your image to only...
View ArticleNew Post: Big difference in Speed between version 6 and 7
I have been using Magick.net verion 6 for years. the distort command in the code below is taken about 38 ms. on the same environment with version 7 it takes 200 to 240 ms. Did I do something wrong? do...
View ArticleNew Post: Big difference in Speed between version 6 and 7
Is distort only slower than it used to be? Or is the whole process slower? Maybe the startup is now slower because of the native library that was added in 101? Can you do the distort in a loop and test...
View ArticleNew Post: Big difference in Speed between version 6 and 7
I checked it with loop and still all the distort command are over 200 ms. I checked the composite command and it is working as usual this command : iimage.Composite(colormap, Gravity.Center,...
View ArticleNew Post: Big difference in Speed between version 6 and 7
Which exact version did you see the performance issue. There are a couple version between .22 and .104. This will make it easier to track down why this is happening. It might be caused because I...
View ArticleNew Post: Big difference in Speed between version 6 and 7
this is happening exactly between these two version: Magick.NET 7.0.0.0022 Nov 23, 2015, Alpha Magick.NET 7.0.0.0101 Feb 4, 2016, Alpha I tested it with parrallel loop, and I can confirm that it works...
View ArticleNew Post: Big difference in Speed between version 6 and 7
Magick.NET 7.0.0.0022 and lower use OpenMP that will run some operations a bit faster in a single thread. I had to drop support for that to make it possible to use Magick.NET without installing the C++...
View ArticleNew Post: Warp
Hi, It's my first time using Magick.NET how do i use warp? this is the code that I used image.Wave(); but I don't know where to add the wave value.
View ArticleNew Post: Warp
I have no idea what you are asking me. Can you provide me an example with ImageMagick?
View ArticleNew Post: Open raw images
Hello, similar problem here. To convert Canon .CR2 to .JPG in my C# WPF Project (x86 / .NET 4.6) with Magick.NET-Q16-AnyCPU (7.0.3.1), i have tried:dcraw.exe beside Magick.NET-Q16-AnyCPU.dll in bin...
View ArticleNew Post: Open raw images
I have dcraw.exe in my %PATH% and no issues reading CR2 files. Are you running your application under another user that might not have the dcraw executable in its %PATH%?
View ArticleNew Post: DCM support questions !
Hi ! Have you make some ameliorations on this format recently (.DCM microdicom) ? (Is it necessary to re-download the new package ?)
View ArticleNew Post: DCM support questions !
I did figure out what was broken but I have not yet fixed it. It has to do with your images being RLE compressed. They RLE decoded does not seem to work but I have not figured out how to fix this....
View ArticleNew Post: Creating a colour swatch dynamically with a predetermined hex colour
Hi Dirk, I had a question concerning the code needed to create a JPEG on the fly, which would represent a colour swatch at 75x75 with a predetermined hex code. How would I achieve this? Thanks, Ben
View ArticleNew Post: Creating a colour swatch dynamically with a predetermined hex colour
You should be able to do that with the following code:using (MagickImage image = new MagickImage("#FF00FF",75,75)) { image.Write(@"c:\pretty.jpg"); }Or do I misunderstand what you mean witch "colour...
View ArticleNew Post: Open raw images
sorry! My fault - shame on me! dcraw.exe was in %PATH% but i had the file from the wrong binary release of ImageMagick (out of a 64bit "ImageMagick-7.0.3-1-Q16-x64-dll.exe" installation instead of...
View ArticleNew Post: Convert From TIF to JPG - Colors Washed Out In Chrome and Firefox...
I use Magick.NET x86 7.0. I open a TIF (created in Photoshop with LZW compression) with Magick, and with no MagickSettings. I resize to a height of 640. I add ICC profile. I add SRGB ColorProfile. I...
View ArticleNew Post: Convert From TIF to JPG - Colors Washed Out In Chrome and Firefox...
It would help if you share your image on something like DropBox/OneDrive. Have you tried the TransformColorSpace method?
View ArticleNew Post: Convert From TIF to JPG - Colors Washed Out In Chrome and Firefox...
I have not tried the TransformColorSpace method yet. I will try that first before I send you the TIF file. Thank you.
View Article