Home
DBPix
Download
Order
Testimonials
Support
Tutorials
Samples
KnowledgeBase
Links
Revision History
Documentation
Search
Contact
Site Map

Graph: DBPix image storage vs OLE Embedding and Linking in Microsoft Access


Creating thumbnails with DBPix

    
DBPix Image Control 
DBPix Developers Kit
Download V2.0
For Windows XP, 2000,
NT, ME, 98 & 95


Buy Now!

DBPix Resources
Samples
Support
About DBPix


Check the Support pages for samples using this and similar techniques.

The basic procedure for creating thumbnails with DBPix is based on using two DBPix controls, one configured to store the main image and one for the thumbnail.
You can use this technique anywhere you can use DBPix, eg in Access Forms, Visual Basic, Web databases with Internet Explorer etc.

After a new image has been loaded into the main image control (from disk, twain, clipboard etc) the image just needs to be copied to the thumbnail control, which will resample the image according to it's configuration. If the controls are data-bound then that's it, otherwise store the thumbnail image and any associated info as you do for the main image.

To copy the image to the thumbnail control you can either use the clipboard by copying and pasting, or save the main image to a temporary file then load this in the thumbnail control.

Watch-out for additional thumbnailing capabilities in future versions of DBPix.