ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Portrait mode instead of landscape
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

AScomp

Germany
18 Posts

Posted - Jan 08 2021 :  09:30:02  Show Profile  Reply
Hi,

I have a strange issue with one image when using TImageEnFolderMView:





The image is show in landscape mode, even it is a portrait. Other portrait images are shown properly (as portrait) in the same object, but the above one is shown as landscape.

Below dimensions information for the image in Windows Explorer:





Any ideas?

Kind regards

Andreas

xequte

38610 Posts

Posted - Jan 08 2021 :  15:17:52  Show Profile  Reply
Hi Andreas

What is your value for ImageEnMView1.EnableAdjustOrientation?:

https://www.imageen.com/help/TImageEnMView.EnableAdjustOrientation.html

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

AScomp

Germany
18 Posts

Posted - Jan 08 2021 :  15:31:37  Show Profile  Reply
Hi Nigel,

it was false (by default?).

I changed it to true in FormCreate, now it works properly.

Thanks a lot!

Kind regards

Andreas
Go to Top of Page

xequte

38610 Posts

Posted - Jan 12 2021 :  17:57:14  Show Profile  Reply
Hi Andreas

Yes, it is False by default. False actually gives the true view of the image. True gives a view that is rotated for display (which is what Windows Explorer does).


For TImageEnView use:

ImageEnView1.IO.Params.EnableAdjustOrientation := True;

https://www.imageen.com/help/TIOParams.EnableAdjustOrientation.html


Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: