Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: How can Rotate image without losing the size and alignment

$
0
0
Hi,

I am first time using the Magick.Net to perform image operations. When I use the Rotate function to rotate the image, it's rotate the image but reduce the image size as well as lost the alignment. Could you please assist how can rotate the image without losing the image size and alignment.
I am using below code to rotate the image.

using (MagickImage image = new MagickImage(imagePath))
{
       image.Rotate(40);
       image.RePage();
}

Thanks,
Gajendra.

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>