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
 Save Thumbnail & Image which are different
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

yogiyang

India
725 Posts

Posted - Dec 03 2020 :  06:41:33  Show Profile  Reply
Hello,

I don't know as to how to explain this but...

I have a need to save a JPEG file in which its thumbnail is different then its actual image.

Meaning the thumbnail as shown in Windows explorer and IEMView would be different then the actual image.

Is this possible? If yes then how?

TIA


Yogi Yang

xequte

38183 Posts

Posted - Dec 04 2020 :  19:23:06  Show Profile  Reply
Hi Yogi

You cannot change the thumbnail that Windows Explorer shows. It will always show the content of the image (OK, this is not 100% true, but true for all practial purposes).

You can make TImageEnMView show a different thumbnail that the image content, either by:

- Enabling TImageEnMView.EnableLoadEXIFThumbnails and setting a different EXIF bitmap (JPEG, TIFF, only)

https://www.imageen.com/help/TImageEnMView.EnableLoadEXIFThumbnails.html
https://www.imageen.com/help/TIOParams.EXIF_Bitmap.html

- Override the drawing of the thumbnail, e.g. in the OnImageDraw event

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




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