Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, November 14, 2018 8:42:04 AM(UTC)

Mikael  
Mikael

Groups: Registered
Posts: 23

Thanks: 2 times

Hi,

I have a 1920x1080 image that I want to rotate 90 degrees, the resulting image size is 1110x1937, why isn't the resulting image 1080x1920?

Code:
RotateCommand _rotateCommand = new RotateCommand(90, RotateCommandFlags.Resize, RasterColor.Black);


Updated:
Saw that you had to pass it in as 100:th increment, in other words the angle should be 90000.
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.027 seconds.