Search found 3 matches

by ymvgk
2019-03-17T13:21:32-07:00
Forum: Magick.NET
Topic: Resample questions
Replies: 4
Views: 83007

Re: Resample questions

snibgo wrote: 2019-03-17T02:38:24-07:00
ymvgk wrote:And is it possible to specify the filter for the Rescale somehow
Yes. Eg at the CLI, give "-filter Box" or whatever before "-resample".
Not in the CLI, I meant Magick.NET
by ymvgk
2019-03-17T01:45:30-07:00
Forum: Magick.NET
Topic: Resample questions
Replies: 4
Views: 83007

Re: Resample questions

That helps, but why isn't it loading image properly right from the file? There's a TrueColor image in, I expect that ColorType would be TrueColor after the image is loaded.

And is it possible to specify the filter for the Rescale somehow (Point in command-line equivalent?)
by ymvgk
2019-03-16T17:12:35-07:00
Forum: Magick.NET
Topic: Resample questions
Replies: 4
Views: 83007

Resample questions

I am using Q16-AnyCPU version to resample a 24-bit TIFF image using (var image = new MagickImage(imageFileName)) { image.Resample(new PointD(600)); image.Write(outputFile); } The problem is that the output image is not 24-bit but 8-bit, and the loaded image is also 8-bit. What am I doing wrong? That ...