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
 Thumbnail
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Janex

Latvia
3 Posts

Posted - Nov 10 2014 :  03:36:12  Show Profile  Reply
Hi all.
I have two database blob fields - IMAGE and THUMBNAIL.
I use TImageEnDBVect an i need to every time before
post image to DB, create small thumbnail (bmp or jpeg)
an save to THUMBNAIL field ...
Without anotations, only clear image to thumbnail.

But cannot find right way how to do this ...
Any ideas ?

xequte

39142 Posts

Posted - Nov 10 2014 :  18:27:30  Show Profile  Reply
Hi

You should be able to use the table events to determine when a change has been posted to the database (or do it when user clicks "Save" for example).

Then create a thumbnail from the TImageEnDBVect IEBitmap and post it to the database. Thumbnail methods are available in iexHelperFunctions:

http://www.imageen.com/help/iexHelperFunctions.html

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: