Magick.Net info:

Magick.NET is an object-oriented C# interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick.NET
Post Reply
malbaron0
Posts: 1
Joined: 2018-01-31T16:09:01-07:00
Authentication code: 1152

Magick.Net info:

Post 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?
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Magick.Net info:

Post by dlemstra »

It looks like you are looking for image.Width .Height and .Page?
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
Post Reply