LEADTOOLS Support
General
General Questions
RotateCommand angle 90 with resize flag turns a 1920x1080 image into a 1110x1937 image
#1
Posted
:
Wednesday, November 14, 2018 8:42:04 AM(UTC)
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.
LEADTOOLS Support
General
General Questions
RotateCommand angle 90 with resize flag turns a 1920x1080 image into a 1110x1937 image
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.