Search found 1558 matches

by dlemstra
2019-06-20T13:35:41-07:00
Forum: Magick.NET
Topic: Getting "System.NotSupportedException: mluc" since 7.14
Replies: 1
Views: 242

Re: Getting "System.NotSupportedException: mluc" since 7.14

Thanks for reporting this. The latest release includes some extra code that parses metadata from the color profile. But I should not throw an exception in that spot. A new release will be published very soon to resolve this issue.
by dlemstra
2019-05-26T22:44:00-07:00
Forum: Magick.NET
Topic: How to get an equivalent Magick.NET script from a command-line command?
Replies: 9
Views: 1441

Re: How to get an equivalent Magick.NET script from a command-line command?

You will need to change:

Code: Select all

new MagickGeometry(sstargetWidth, sstargetHeight)
into

Code: Select all

new MagickGeometry($"{sstargetWidth}x{sstargetHeight}^")
or add

Code: Select all

size.FillArea=true;
And you could also use

Code: Select all

ssnewImage = image.ToByteArray(MagickFormat.Png);
by dlemstra
2019-05-25T00:35:14-07:00
Forum: Magick.NET
Topic: Improper image header. ReadPSDImage/2237
Replies: 5
Views: 1603

Re: Improper image header. ReadPSDImage/2237

Might be a while before this will be fixed in Magick.NET. Could you open an issue on GitHub also so other people know about this problem?
by dlemstra
2019-05-21T12:55:18-07:00
Forum: Magick.NET
Topic: Getting metadata values embedded in image
Replies: 2
Views: 1192

Re: Getting metadata values embedded in image

You should be able to read that information with the `GetAttribute` method of the `MagickImage` class. For example: image.GetAttribute("icc:copyright"); But it would probably be very convenient to also have them as a property on the ColorProfile class so I created an issue on GitHub for this: https:...
by dlemstra
2019-05-14T22:55:23-07:00
Forum: Bugs
Topic: Make Error for IM 6.9.10.45 and 7.0.8.45
Replies: 6
Views: 1626

Re: Make Error for IM 6.9.10.45 and 7.0.8.45

I also had trouble building Magick.NET on macOs with that version. Running `autoreconf -fiv` before `./configure` solved the issue for me for now.
by dlemstra
2019-05-09T09:58:42-07:00
Forum: Users
Topic: Turning performance of signature hashing
Replies: 16
Views: 3627

Re: Turning performance of signature hashing

What is the output of convert -version and magick -version?
by dlemstra
2019-05-03T12:08:05-07:00
Forum: Magick.NET
Topic: Help with merging TIFF files #2
Replies: 4
Views: 1251

Re: Help with merging TIFF files #2

Your code should do that now you are adding the pages to the collection and when you write it it should create a tiff image with 10 pages (when you add 10 images to the collection.
by dlemstra
2019-05-02T14:10:17-07:00
Forum: Magick.NET
Topic: Help with merging TIFF files #2
Replies: 4
Views: 1251

Re: Help with merging TIFF files #2

You should not be using the `using` statement for images that you add to the collection. When you add them the collection (images) takes ownership and will Dispose them when you Dispose the collection.
by dlemstra
2019-05-02T14:08:47-07:00
Forum: Magick.NET
Topic: Equivalent of clip-mask
Replies: 1
Views: 835

Re: Equivalent of clip-mask

image.Clip is the equivalent of -clip-mask in Magick.NET
by dlemstra
2019-04-29T12:11:25-07:00
Forum: Developers
Topic: Resolution Unit
Replies: 17
Views: 3632

Re: Resolution Unit

You should set `image.Density` instead of `image.Settings.Density` to change the density of an image.
by dlemstra
2019-04-07T13:56:17-07:00
Forum: Bugs
Topic: Bad Colors with colorspace and gamma options
Replies: 10
Views: 2990

Re: Bad Colors with colorspace and gamma options

Can you reproduce this issue with ImageMagick 7.0.8-39 that has just been released?
by dlemstra
2019-04-07T01:19:49-07:00
Forum: Bugs
Topic: [solved] abort (core dumped) on EPS file
Replies: 4
Views: 1987

Re: abort (core dumped) on EPS file

Maybe this is related to this issue: https://github.com/ImageMagick/ImageMagick/pull/1538? Are you using GhostScript 9.27?
by dlemstra
2019-04-02T22:21:56-07:00
Forum: Developers
Topic: Different conversion result for .Net and node.js library
Replies: 2
Views: 1429

Re: Different conversion result for .Net and node.js library

You will need to do image.SetArtifact("filter:blur", "0") instead of image.Blur(0);
by dlemstra
2019-04-02T21:58:32-07:00
Forum: Developers
Topic: Permission denied error on AWS
Replies: 6
Views: 2479

Re: Permission denied error on AWS

You might be using a newer version of Ghostscript in yourbother environments? 9.04 is ancient
by dlemstra
2019-03-24T01:08:15-07:00
Forum: Magick.NET
Topic: Correctly convert from ColorCMYK to MagickColor
Replies: 4
Views: 2246

Re: Correctly convert from ColorCMYK to MagickColor

Thanks for reporting this! The problem is this statement: SolidBrush brush = new SolidBrush(thisColor); This will convert the MagickColor to a System.Drawing.Color but it does not convert the CMYK color to RGB. I just pushed a patch to resolve this in Magick.NET and I will try to publish a new relea...