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
 IEFolderMView.ShowThumbnailHint
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

jrpcguru

USA
266 Posts

Posted - Jan 03 2022 :  18:52:50  Show Profile  Reply
I recently discovered some odd behavior when ShowThumbNailHint is used. I inserted this into the demo program to confirm the behavior.

If the Layout in the demo program displays small icons, the Dimensions reported in the hint appear to be the dimensions of the icon, not the image.

If the Layout in the demo program displays large icons, the Dimensions reported in the hint appear to be the actual image dimensions.

I would think that displaying dimensions for any multi-page file would not be useful?

Research in the help file says that the correct dimensions are not available unless the image is actually loaded into ImageEnView. I used IEFolderMViewGetHint to create my own hint without the dimensions confusing things. Instead I put the dimensions and other information into the StatusBar when the Preview is turned on and update that information for each page.



J.R.

xequte

38610 Posts

Posted - Jan 07 2022 :  00:50:41  Show Profile  Reply
Hi JR

Please use:

IEFolderMView.IOOptionsEx := IEFolderMView.IOOptionsEx + [ieixWantParams];

I'll make this automatic for the next release.

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

jrpcguru

USA
266 Posts

Posted - Jan 07 2022 :  16:42:32  Show Profile  Reply
The .JPG and .TIF do display consistent dimensions when the icons are small or large, now. But the PDF file shows the 25x25 dimension even if the property column was larger, because it changes as soon as the mouse hovers over the PDF file.

J.R.
Go to Top of Page

xequte

38610 Posts

Posted - Jan 07 2022 :  23:38:40  Show Profile  Reply
Hi

Please email me for a fix.

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

jrpcguru

USA
266 Posts

Posted - Jan 08 2022 :  09:44:04  Show Profile  Reply
Thanks. I actually hadn't thought of displaying a column of properties. I was just testing the demo to see if I liked the new features. Many times you inspire new features for me, but not this time.

In this case, I wonder if it is better to display the page count for a multi-page file like TIF or PDF, rather than dimensions?

BTW: I just noticed that non-image files also are displaying dimensions of the icon and doing weird things like PDF.

J.R.
Go to Top of Page

xequte

38610 Posts

Posted - Jan 08 2022 :  16:15:50  Show Profile  Reply
Hi JR

PageCounts could be useful for a later update. The current fix should resolve all issues with dimensions showing for icons.

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