Search found 1433 matches

by dlemstra
2018-04-10T12:49:21-07:00
Forum: Magick.NET
Topic: Magick.NET slows down over time while processing a large batch of images?
Replies: 6
Views: 446

Re: Magick.NET slows down over time while processing a large batch of images?

Thanks for reporting this and it looks like you found a bug in the internal memory resource counters. This will be resolve in the next version of Magick.NET that I will try to release this weekend.
by dlemstra
2018-04-10T11:40:04-07:00
Forum: Magick.NET
Topic: AddProfile very slow from version 7.2.0.0
Replies: 4
Views: 294

Re: AddProfile very slow from version 7.2.0.0

It does look like this slow down was causing by adding support for HDRI color profile management. Will need to think of a way to fix this. Will get back to you when I have more info.
by dlemstra
2018-04-08T12:43:04-07:00
Forum: Magick.NET
Topic: Noobie question regarding CopyPixels
Replies: 2
Views: 239

Re: Noobie question regarding CopyPixels

I wonder why you are using the CopyPixels method. I suspect you will need to use one of the Composite overloads to accomplish your goal.
by dlemstra
2018-04-08T12:41:34-07:00
Forum: Magick.NET
Topic: Magick.NET slows down over time while processing a large batch of images?
Replies: 6
Views: 446

Re: Magick.NET slows down over time while processing a large batch of images?

The slow down is caused because by your process is running out of memory and ImageMagick will use your disk because it cannot allocate more memory. I suspect that a memory leak is happening somewhere or our internal memory booking is broken at some point. Would it be possible to create an example in...
by dlemstra
2018-04-08T12:37:19-07:00
Forum: Magick.NET
Topic: AddProfile very slow from version 7.2.0.0
Replies: 4
Views: 294

Re: AddProfile very slow from version 7.2.0.0

What changed between those versions is support for HDRI color profile management. Wondering if that slowed it down. Will need to investigate this.
by dlemstra
2018-04-08T10:39:19-07:00
Forum: Magick.NET
Topic: CMYK MagickColor strange behaviour
Replies: 2
Views: 271

Re: CMYK MagickColor strange behaviour

-set colorspace is not the same as .Colorspace. Your command would translate to this: using (MagickImage miPantone1 = new MagickImage("CMYK+4SPOT.pdf (PANTONE 371 C)")) { miPantone1.Transparent(MagickColors.White); miPantone1.SetAttribute("colorspace", "CMYK"); miPantone1.Opaque(new MagickColor("cmy...
by dlemstra
2018-03-25T13:00:54-07:00
Forum: Bugs
Topic: Reading from Windows clipboard:
Replies: 6
Views: 2602

Re: Reading from Windows clipboard:

I just pushed some patches to resolve the issues. I also decided to read and write with the BMP delegate. We will try to publish a new release today/tomorrow. Can you give it another try after the next release?
by dlemstra
2018-03-19T15:51:16-07:00
Forum: Magick.NET
Topic: Round Image(s) overlap issue
Replies: 11
Views: 2616

Re: Round Image(s) overlap issue

It will freeze only the first time you run the program because it will then run a benchmark to determine the performance of your CPU and GPU. Just let it continue and you will see that it will be pretty fast the next time you run the program again.
by dlemstra
2018-03-16T16:58:22-07:00
Forum: Magick.NET
Topic: Magick.NET unable to find the required bin file
Replies: 8
Views: 3078

Re: Magick.NET unable to find the required bin file

Could you post some debugging logging (or provide a link to it since it can get pretty big) ? Looking at the source code I don't understand how you could get this exception. You can find info about debug logging here: https://github.com/dlemstra/Magick.NET/blob/master/Documentation/DetailedDebugInfo...
by dlemstra
2018-03-11T14:04:04-07:00
Forum: Magick.NET
Topic: From .NET Samples - UsingColors() - Not Expected Result
Replies: 4
Views: 2037

Re: From .NET Samples - UsingColors() - Not Expected Result

You can use the `Opaque` method in combination with `ColorFuzz` to change colors in an image. But that won't really work with this image because the color that you think is white is actually transparent.
by dlemstra
2018-03-11T13:28:27-07:00
Forum: Magick.NET
Topic: From .NET Samples - UsingColors() - Not Expected Result
Replies: 4
Views: 2037

Re: From .NET Samples - UsingColors() - Not Expected Result

The code doesn't really do anything it just demonstrates the various ways you can use colors.
by dlemstra
2018-03-08T16:17:01-07:00
Forum: Bugs
Topic: Reading from Windows clipboard:
Replies: 6
Views: 2602

Re: Reading from Windows clipboard:

This does look like a bug and we probably can do a clean up and use CF_DIB instead. Would you be willing to send us a PR for this Jason, or would you prefer us to handle this ourselves?

p.s. I wonder if we can free the bitmap that we created. I suspect that makes the second image black.
by dlemstra
2018-03-05T13:57:12-07:00
Forum: Magick.NET
Topic: Apply haldclut color to Image - C#
Replies: 4
Views: 1918

Re: Apply haldclut color to Image - C#

You should use `bitmap.HaldClut(image)`.
by dlemstra
2018-03-05T13:56:00-07:00
Forum: Magick.NET
Topic: Convert console command to c#
Replies: 1
Views: 1433

Re: Convert console command to c#

You don't need to set the fill color. One the command line this is the color used with +opaque but with Magick.NET it is one of the color arguments. You should do the following:

Code: Select all

image.InverseOpaque(MagickColors.Black,MagickColors.White);