Search found 1558 matches

by dlemstra
2019-03-23T04:09:27-07:00
Forum: Bugs
Topic: Failed to convert PNG file with error " IDAT: invalid distance too far back"
Replies: 4
Views: 2317

Re: Failed to convert PNG file with error " IDAT: invalid distance too far back"

It appears that the zlib library is reporting this error. I looks like this is a corrupt image.
by dlemstra
2019-03-22T23:01:30-07:00
Forum: Magick.NET
Topic: Merging TIFF files in multi page with C#
Replies: 6
Views: 2167

Re: Merging TIFF files in multi page with C#

It should be images.Write(output + "\\FicheiroMultiPage.tif") instead of the using block that you have now.
by dlemstra
2019-03-21T02:50:01-07:00
Forum: Magick.NET
Topic: Merging TIFF files in multi page with C#
Replies: 6
Views: 2167

Re: Merging TIFF files in multi page with C#

You should call Write on the images instead of doing the mosaic.
by dlemstra
2019-03-16T19:38:38-07:00
Forum: Magick.NET
Topic: Resample questions
Replies: 4
Views: 1666

Re: Resample questions

You will need to set the colortype of the image to truecolor
by dlemstra
2019-03-14T19:32:06-07:00
Forum: Bugs
Topic: Using Screen & Multiple with Inline images stopped working again.
Replies: 9
Views: 3552

Re: Using Screen & Multiple with Inline images stopped working again.

Have you checked yourself if this was fixed in the most recent version of ImageMagick?
by dlemstra
2019-03-06T09:22:00-07:00
Forum: Users
Topic: Help, Command works but not in batch file?
Replies: 2
Views: 1510

Re: Help, Command works but not in batch file?

You will need to escape the percentage (%% instead of %)
by dlemstra
2019-03-03T19:13:17-07:00
Forum: Users
Topic: identify -verbose -> Comand line
Replies: 2
Views: 1527

Re: identify -verbose -> Comand line

Have you tried using %# as mentioned on this page: https://imagemagick.org/script/escape.php?
by dlemstra
2019-02-28T20:36:41-07:00
Forum: Magick.NET
Topic: RAW Data length error (PixelStorageSettings issue)
Replies: 2
Views: 1997

Re: RAW Data length error (PixelStorageSettings issue)

Your settings says you want to read a whole CMYK image at once but your files only contain one channel. You should read them as gray add them to a MagickImageCollection and call Combine to make one image.
by dlemstra
2019-02-28T20:28:26-07:00
Forum: Magick.NET
Topic: Combining images with MagickNET seems to miss the black channel
Replies: 1
Views: 1365

Re: Combining images with MagickNET seems to miss the black channel

The colorspace should be CMYK in the Combine call. And that result is already an image so don't pass that to the MagickImage constructor again. And don't forget to Dispose it.
by dlemstra
2019-02-28T02:49:24-07:00
Forum: Users
Topic: Convert .emf image to very big .png,.tiff,.jpg...
Replies: 8
Views: 2230

Re: Convert .emf image to very big .png,.tiff,.jpg...

It looks like it is possible to read part of the exr file on Windows. Could you open an issue on GitHub to request support for this? Not sure if this is possible but we should give it a try.
by dlemstra
2019-02-16T01:59:34-07:00
Forum: Users
Topic: get .psd layer (x,y) positions
Replies: 3
Views: 1538

Re: get .psd layer (x,y) positions

Yes that is what you are looking for. And you should skip the first image because that is the merged image and not a layer.
by dlemstra
2019-02-12T22:54:33-07:00
Forum: Magick.NET
Topic: Handling very high page count MultiPage Tiffs
Replies: 4
Views: 2335

Re: Handling very high page count MultiPage Tiffs

Can you share an image that demonstrates this issue? Is this an image with Photoshop layers or tiff pages? And have you tried using the Ping method of the MagickImageCollection to get the number of images? It would also be nice if you could demonstrate the issue where you request a frame that is to ...
by dlemstra
2019-02-10T07:50:20-07:00
Forum: Magick.NET
Topic: Compose with -channel (command line to c#)
Replies: 3
Views: 2189

Re: Compose with -channel (command line to c#)

Just created the issue myself and made some changes to Magick.NET. Your feature request will be available in the next release.
by dlemstra
2019-02-08T15:43:20-07:00
Forum: Magick.NET
Topic: Convert IM command to Magick.NET
Replies: 2
Views: 1758

Re: Convert IM command to Magick.NET

Most options have the same name as the methods/properties of the MagickImage class. Your example would translate to this: using (var image = new MagickImage(@"c:\Temp\Source.jpg")) { // -units PixelsPerInch -density 96x96 image.Density = new Density(96); // PixelsPerInch is the default. // -resize 1...
by dlemstra
2019-02-05T23:43:23-07:00
Forum: Users
Topic: Creating TIF with layers
Replies: 10
Views: 2851

Re: Creating TIF with layers

There is an experimental flag `-define tiff:write-layers=yes`that can be used to create photoshop layers inside a tiff file. But there were still some issues when openening these files in Photoshop.