![]() |
|
#1
|
|||
|
|||
|
how to make a thumbview of all pictures in a folder ?
~3homer~ Thanx,very much. |
|
#2
|
|||
|
|||
|
several things are needed for that...
for one, I would suggest you get Graphics32, a very fast graphics library. It has a great routine to scale the pictures with filtering, i.e. the picture will still look good even at the smaller size, yet the routine is very fast. You can get Graphics32 from http://www.g32.org In addition to that you need to create a list of all the picture files in a folder, check the post below to see how to list files in a certain folder: http://www.delphipages.com./threads/thread.cfm?ID=61074&G=61054 You will have to adopt it a bit, i.e. you only want to list the files and not the recursive folders and you want to select every file that matches a number of extensions, i.e. .bmp, .jpg, .gif once you have that list, you need to load each of them into a hidden Image32 component, then you scale it down to the correct size and copy it to the next visible Image32 component in your Thumbnail list. Hope this helps, Marcel |
![]() |
| Thread Tools | |
| Display Modes | |
|
|