New Post: Images turn to grain
Attaching did not work. Sharing it on dropbox/onedrive works better here. Why are you resampling the image? Wouldn't it be better to just specify the Density?
View ArticleNew Post: Images turn to grain
https://www.dropbox.com/s/17no9me7j5x3cav/Image.gif?dl=0
View ArticleNew Post: Working with clipping paths
I decided to put my answer in code and comments. Feel free to ask if you need more info./* specifying the density befor reading will resolve your size issue */ MagickReadSettings settings = new...
View ArticleNew Post: Images turn to grain
That image already has the correct size. You would only need to resize larger images to 750x413, set the Density property of the image to 300 and save it as a format that supports DPI.
View ArticleNew Post: Images turn to grain
While that may be true, what part of the process is causing it to get so grainy? Somewhere along the way it loses resolution?
View ArticleNew Post: GetReadOnlyPixels not accessible
Is there a place to look up information such as this one? -- Sent from my Android phone with 1&1 Mail. Please excuse my brevity.
View ArticleNew Post: GetReadOnlyPixels not accessible
I try to document the breaking changes here: https://magick.codeplex.com/SourceControl/latest#Changes.md
View ArticleNew Post: Images turn to grain
It most likely gets grainy because your input image is smaller than your target size. Was that gif image the original input image?
View ArticleNew Post: GetReadOnlyPixels not accessible
Thanks to both of you! -- Sent from my Android phone with 1&1 Mail. Please excuse my brevity.
View ArticleNew Post: Use imagemagick in c#
How do i do the following commandline command in c#: magick -evaluate-sequence mean (or convert -evaluate-sequence mean) Maarten
View ArticleNew Post: Use imagemagick in c#
You will need the MagickImageCollection class for that. Below is a simple example:using (MagickImageCollection images = new MagickImageCollection()) { images.Add("a.jpeg"); images.Add("b.jpeg"); using...
View ArticleNew Post: GetReadOnlyPixels not accessible
This is slightly different from the original subject but still along the same lines. I can now make code like this work:img.Draw( new DrawableFillColor(MagickColors.Transparent), // no fill new...
View ArticleNew Post: Connected Components area threshold
I'm very new to ImageMagick so I apologise if this is really simple; I want to use Connected Components to identify whether objects exist in an image. In the Command Line, I am able to achieve this...
View ArticleNew Post: Choose which GPU is used for OpenCL
Hey Dirk, I had a followup question. The OpenCL class detects 3 devices (CPU, onboard GPU, main GPU), but only one is enabled (GPU). So I'm forcing all three to be enabled in the hopes that the...
View ArticleNew Post: Connected Components area threshold
I may have a solution but I don't think it's a particularly clean one. I originally thought that using SetDefine(MagickFormat.Png, ..., ...) would prepare the software to use what is stored as a .png...
View ArticleNew Post: Choose which GPU is used for OpenCL
It is correct that each device will be used when you enable them all but the usage will be based on the score. Each time an OpenCL operations takes place a request is made for an OpenCL device. If none...
View ArticleNew Post: GetReadOnlyPixels not accessible
I wish there was a page with code examples but I don't have the time to create one. Instead of a list of DrawableBase instances you should use the new interface IDrawable.
View ArticleNew Post: Connected Components area threshold
You should use the following method:using (MagickImage compared = new MagickImage(filepath)) { compared.Settings.SetDefine("connected-components:area-threshold", "200");...
View ArticleNew Post: GetReadOnlyPixels not accessible
Appreciate the info. -- Sent from my Android phone with 1&1 Mail. Please excuse my brevity.
View ArticleNew Post: GetReadOnlyPixels not accessible
You're welcome. Sent from my Windows laptop with my keyboard. Please excuse my brevity :)
View Article