| | | Creating thumbnails with 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.
| |
|
|