Page 1 of 1

Magick.Net info:

Posted: 2018-01-31T16:12:07-07:00
by malbaron0
In script to get canvas information, one would have to write "info:". But I am writing code in c# and I want to get canvas information after performing the following calls:

Code: Select all

            image.VirtualPixelMethod = VirtualPixelMethod.Edge;
            image.Blur(0,15);
            image.ColorFuzz = new Percentage(percent);
            image.Trim();
            image.RePage();
            image.Dispose();
Question is, how do get canvas information in Magick.Net?

Re: Magick.Net info:

Posted: 2018-02-01T11:43:35-07:00
by dlemstra
It looks like you are looking for image.Width .Height and .Page?