This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, May 30, 2006 7:05:57 PM(UTC)
Groups: Registered
Posts: 3
I have a little problem with load bitmap. I need load bitmap without view perspective value, in help files a found:
ELO_ROTATED [0x00000010] Loads files without rotating them. This affects files that can be saved with a rotated view perspective. For more information refer to Accounting for View Perspective.
ELO_ROTATED flag in LOADFILEOPTION struct. I try to use that:
LOADFILEOPTION option;
L_GetDefaultLoadFileOption(&option, sizeof(LOADFILEOPTION));
option.Flags |= ELO_ROTATED;
L_LoadBitmap ((LPTSTR)(LPCTSTR)m_file, &m_bmh, 0, ORDER_BGR, &option, NULL);
But this code has no effect. Why?
#2
Posted
:
Sunday, June 4, 2006 4:49:39 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
In v14.5, we added a flag : ELO_IGNOREVIEWPERSPECTIVE, this flag Ignore the view perspective stored in the file and load the file as TOP_LEFT. If you are loading a TIF or Exif file that looks rotated or flipped, try setting this flag before loading the file.
For older versions, please read the following post on our site, which gives a suggested approach to making your program work like other common applications:
http://support.leadtools...orums/3043/ShowPost.aspxThe relevant part is toward the end (dated 11-16-2005, 10:47).
Thanks,
Ali Abo Al-Rob
LEADTOOLS Technical Support
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.