LEADTOOLS Support
Imaging
Imaging SDK Questions
Re: Trying to load an image without rotating it
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, January 29, 2007 7:55:47 AM(UTC)
Groups: Registered
Posts: 14
I have a TIF image that I am loading via LBitmapWindow. It shows up right-side up although I am expecting to see it upside down. The DEMO.exe application also displays it right-side up. According to the FILEINFO Flags, it is a rotated image. I see the image as an upside down image when opened in Windows Picture and Fax Viewer. I have confirmed that a different image is not a rotated image and shows up right-side up in both Fax Viewer and LBitmapWindow.
According to the documentation for LBitmapWindow::Load(), I should be able to pass in a LOADFILEOPTION structure with Flags set to ELO_ROTATED in order to load the file without rotating it. This does not work.
Please help me solve this problem.
#2
Posted
:
Monday, January 29, 2007 11:57:03 PM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Try using ChangeViewPerspective to after loading to change the view perspective of the file to TOP_LEFT.
LEADTOOLS Support
Imaging
Imaging SDK Questions
Re: Trying to load an image without rotating it
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.