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
 TImageEnMView vs TTImageEnFolderMView when viewing video thumbnails
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

imageorganizernx

Australia
14 Posts

Posted - Aug 13 2023 :  02:21:52  Show Profile  Reply
I would like to use TImageEnMView to view thumbnails, however I can't make it display video thumbs like TImageEnFolderMView does. It displays the registered file type icon instead. See image attached; test application with each component. The only source is below. IEGlobalSettings().MViewExplorerThumbnailExts includes .MP4 (both files are this type).

What am I missing?

procedure TForm13.FormShow(Sender: TObject);
begin
ImageEnMView1.FillFromDirectory('J:\My Pictures Sync\Screen recordings', TIEFolderFileTypes.iefAllImagesAndVideos);
ImageEnFolderMView1.FileTypes := TIEFolderFileTypes.iefAllImagesAndVideos;
ImageEnFolderMView1.Folder := 'J:\My Pictures Sync\Screen recordings';
end;





Image Organizer NX

xequte

38615 Posts

Posted - Aug 13 2023 :  16:33:27  Show Profile  Reply
Hi

ImageEn is using the Explorer Shell Extension to retrieve thumbnails for those video types, because they are small, they are not used if the StoreType is ietNormal (full size images).

So you need to set:

ImageEnMView1.StoreType := ietThumb;

Please see:

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

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

imageorganizernx

Australia
14 Posts

Posted - Aug 13 2023 :  19:44:18  Show Profile  Reply
Thanks, that did the trick :)

Image Organizer NX
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: