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
 Create thumbs fast?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

quantuz

Sweden
55 Posts

Posted - Jun 27 2014 :  05:32:42  Show Profile  Reply
Hi!
Is there an way to load a small thumbnail image from a large image file? I want to populate IE multi-view with small thumbs from lot of large images, now I have to load the image in full size then resize it to thumb size (200x200). Many software have superfast thumb load of thumbs when browsing a dir.
Using IE 4.3.1

Regards,
// Christer

w2m

USA
1990 Posts

Posted - Jun 27 2014 :  05:54:48  Show Profile  Reply
Set the TImageEnMView.StoreType property to ietThumb and thumbnails will be created from the original images. To display the original image in TImageEnView or TImageEnVect:

procedure TForm1.ImageEnMView1ImageSelect(Sender: TObject; idx: Integer);
begin
  { Display the image in ImageEnView. }
  ImageEnView1.IO.LoadFromFile(ImageEnMView1.MIO.Params[iIndex].FileName);
end;


Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

xequte

39056 Posts

Posted - Jun 29 2014 :  20:03:15  Show Profile  Reply
Hi

As Bill has mentioned, use ietThumb of ietFastThumb and TImageEnMView will automatically load and resize the images using the fastest possible method.

Note: Significant speed can be gained using TImageEnMView.EnableLoadEXIFThumbnails. Though I am not a big fan of EXIF thumbnails, which can be quite variable in quality.



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