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 : Sunday, October 25, 2009 8:13:00 PM(UTC)

godanse  
godanse

Groups: Registered
Posts: 2


LeadTools version : 16.5
WinXP(SP3), Visual Studio 2005 Environment (C/C++)

I just want to know how to turn off auto-rotate option.
I found LBitmapBase::Load()  automatically rotate image using orientation information from EXIF.
But I don't want this functionality.
Below is my code. thanks.

LAnimationWindow m_LAniWnd;
m_LAniWnd.SetFileName("C:\\a.jpg");
m_LAniWnd.Load();


godanse@nate.com

 

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 : Monday, October 26, 2009 4:33:00 AM(UTC)

Basel  
Guest

Groups: Guests
Posts: 3,028

Was thanked: 2 time(s) in 2 post(s)

You can do that by using the flag ELO_IGNOREVIEWPERSPECTIVE in the structure LOADFILEOPTION which causes files to be loaded without taking orientation (view perspective) into consideration.

Then you will need to use this structure in your Load() Method.

You can read more about it in the following help topics in our C/C++ help files:
- LOADFILEOPTION.
- LBitmapBase::Load(pszFileName, nBitsPerPixel=0, nOrder=ORDER_BGRORGRAY, pLoadFileOption=NULL, pFileInfo=NULL)
- GetDefaultLoadFileOption()
 
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-2020, Yet Another Forum.NET
This page was generated in 0.040 seconds.