Search found 1596 matches

by dlemstra
2019-02-28T20:36:41-07:00
Forum: Magick.NET
Topic: RAW Data length error (PixelStorageSettings issue)
Replies: 2
Views: 5797

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: 4586

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: 3941

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: 2735

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: 6377

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: 5925

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: 4784

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: 4896

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.
by dlemstra
2019-02-05T23:27:34-07:00
Forum: Magick.NET
Topic: Compose with -channel (command line to c#)
Replies: 3
Views: 5925

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

Thanks for finding this. Could you open an issue at "https://github.com/dlemstra/Magick.NET/issues" so I don't forget adding support for this?
by dlemstra
2019-02-03T07:56:20-07:00
Forum: Magick.NET
Topic: MagickNET and raw CMYK data
Replies: 5
Views: 6259

Re: MagickNET and raw CMYK data

You can use the PixelStorageSettings class for that. You can find an example in this recent issue: https://github.com/dlemstra/Magick.NET/issues/381
by dlemstra
2019-02-01T03:20:12-07:00
Forum: Bugs
Topic: Inefficient compression of CMYK images
Replies: 5
Views: 8372

Re: Inefficient compression of CMYK images

Feel free to open an issue on GitHub so we can keep track of it and maybe someone else will fix it.
by dlemstra
2019-01-30T23:56:48-07:00
Forum: Bugs
Topic: White pixel noise on JPG [6.7.7-10]
Replies: 5
Views: 4935

Re: White pixel noise on JPG [6.7.7-10]

And what happens with the latest version? You are using an ancient one.
by dlemstra
2019-01-25T15:43:47-07:00
Forum: Magick.NET
Topic: Combining many images is incredibly slow on VM
Replies: 9
Views: 8440

Re: Combining many images is incredibly slow on VM

Is your application running in 64 bit on your local machine and in 32 bit on your VM? But that would probably still not cause such a big difference. And you probably want to also follow my other tip to use AppendVertically or AppendHorizontally of the MagickImageCollection. This should also give you...
by dlemstra
2019-01-25T15:37:49-07:00
Forum: Magick.NET
Topic: Specifying gamma when reading pixel data
Replies: 6
Views: 6328

Re: Specifying gamma when reading pixel data

Not all read settings can/will be used when reading pixels, the Colorspace is one of them. If you want to do the same thing as "-gamma" you will need to call the GammaCorrect method of the MagickImage after you read it.
by dlemstra
2019-01-24T13:43:56-07:00
Forum: Magick.NET
Topic: Combining many images is incredibly slow on VM
Replies: 9
Views: 8440

Re: Combining many images is incredibly slow on VM

You are disposing none of your images. Does this happen instantly or only after a couple times? And you might want to take a look at the MagickImageCollection class that has "Append" methods to combine images.