New Post: Convert command to .NET
Makes a world of difference to understand how clone and composite works as well. Thanks a lot for the detailed explanation and solution!
View ArticleNew Post: Convert command to .NET
Hi, I have this code(get in... http://www.imagemagick.org/discourse-server/viewtopic.php?t=25557)convert entry.jpg -threshold 10% -morphology close:2 "1x4: 0,1,1,0" -normalize out.jpg convert out.jpg...
View ArticleNew Post: Convert command to .NET
I am not that comfortable translating your command since it looks like a piece of code to defeat captcha. I will however give you some pointers to do it yourself. Most options of the command line are...
View ArticleNew Post: Issue with Scale() method
dlemstra wrote: This is probably another bug in the ScaleImage method of ImageMagick. I will take a look at it later tonight.EDIT: The problem has been found and will be fixed in the next release of...
View ArticleNew Post: Issue with Scale() method
I don't have a date in mind yet. You can expect it around the end of this month.
View ArticleNew Post: ImageMagick.NET - Failed to load embedded x64 assembly
It works fine in a local system. But in the live server, it throws an error like this Failed to load embedded x64 assembly: unable to load file "c:WindowsTEMPMagick.Net.7.0.0.0008Magick.NET-Q8-x64.dll"
View ArticleNew Post: ImageMagick.NET - Failed to load embedded x64 assembly
You probably don't have the correct access to: c:\Windows\TEMP\Magick.Net.7.0.0.0008. You can specify an alternative directory with the CacheDirectory of MagickAnyCPU.
View ArticleNew Post: Auto-Rotate Images
Can I use Magick.Net to determine if an image needs to be rotated, and if so, rotate it? Thanks! Jennifer
View ArticleNew Post: Auto-Rotate Images
You can use the AutoOrient method of MagickImage for this. This method will look at the EXIF information of your image and rotate the image when this is necessary.
View ArticleNew Post: Resizing 5mb gif files throws MemoryAllocationException
Hi, I've used Magick.NET to create Micro-service which makes resizing of different types of images. It works like a charms, except one case - resizing of big .gif files. When I'm trying to resize about...
View ArticleNew Post: Resizing 5+mb gif files throws MemoryAllocationException
The size of the image is not really important it is the size in bits that an image takes. Your example file is not a good example because it is not that big but you can use the following calculation...
View ArticleNew Post: Resizing 5+mb gif files throws MemoryAllocationException
Thanks for quick reply! I've tried exactly that gif from my example. (Actually it's around 7mb.) I've just executed resizing about 10 time for same gif concurrently. (Use case: Image upload form,...
View ArticleNew Post: Resizing 5+mb gif files throws MemoryAllocationException
The point I am trying to make is that there is a difference between the size on disk and the size in memory. When Magick.NET loads a GIF file the pixels will be translated to an internal memory format....
View ArticleNew Post: Resizing 5+mb gif files throws MemoryAllocationException
Yep, sure. I'm understand that point. And I see that there is no problems with free memory on my desktop or server, and it's far from limit of free RAM. So my question is: may be I can make some...
View ArticleNew Post: Resizing 5+mb gif files throws MemoryAllocationException
ImageMagick should use the disk when memory cannot be allocated but there might be a bug in the library. Can you create a small program that I can use to recreate your issue? When an exception is...
View ArticleNew Post: Resizing 5+mb gif files throws MemoryAllocationException
Here is a link, sorry for a big size of archive (around 31mb)https://www.dropbox.com/s/0bv3v4c84co3ovo/MagickImageGifResizerExample.zip?dl=0 M.b. you can find what exactly I'm doing wrong.
View ArticleNew Post: Total Unique Colors of an image?
I need to get the total number of unique colors, currently i use this: Dim histogram As Dictionary(Of MagickColor, Integer) = IMG.Histogram MsgBox(histogram.Count) Works great, however i wondered if...
View ArticleNew Post: Total Unique Colors of an image?
The number of colors will always be calculated. There seems to be a totalColors property available in Magick++. I will add this to the next version of Magick.NET but I don't know if this will make a...
View ArticleNew Post: Resizing 5+mb gif files throws MemoryAllocationException
Your code looks correct and I can reproduce the issue. Not sure why this happening, I will let you know when I know more.
View ArticleNew Post: Resizing 5+mb gif files throws MemoryAllocationException
I think I know what is going on. This is some kind of corner case. Each image will take around 96mb (my previous calculation was incorrect 118 should be 188). When the image is written it takes twice...
View Article