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



Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, May 30, 2006 7:05:57 PM(UTC)

red dy  
red dy

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:

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?

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.

#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.aspx

The relevant part is toward the end (dated 11-16-2005, 10:47).

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.

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