Solved

Extract Thumbnails from thumbs.db

Posted on 2006-10-31
7
1,970 Views
Last Modified: 2008-03-15
Hello , Does any one have a Delphi CODE or a Component to Extract images from thumbs.db ???
0
Comment
Question by:akhachab
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 

Accepted Solution

by:
PAG_Promax earned 250 total points
ID: 17847890
Have a read through this.  There's some examples in there that has helped someone with the same question as you:

http://www.experts-exchange.com/Programming/Programming_Platforms/Win_Prog/Q_20822626.html
0
 

Author Comment

by:akhachab
ID: 17848207
already read that , i am looking for a Delphi Ready Component to use .
0
 

Expert Comment

by:PAG_Promax
ID: 17853520
I dont think you'll find one.  I've looked before and not found anything.  You're going to have to rely on APIs I think.

If you do it, try making it into a component yourself and release it for everyone else to use.  What goes around, comes around, eh? :)
0
 
LVL 9

Assisted Solution

by:bernani
bernani earned 250 total points
ID: 17992033
Hi,

There is a C# library (under LGPL)  forreading thumb.db at http://www.petedavis.net/MySite/DynPageView.aspx?pageid=31 (with source code).

From the page:

There is only one class you need to use: ThumbDB.
The ThumbDB constructor takes a string with the full path and filename of the thumbs.db file you want to read.
public string[] GetThumbFiles()
public byte[] GetThumbData(string filename)
public Image GetThumbnailImage(string filename)

...

Maybe someone here can help you translate the whole from C# to delphi ...and maybe as said above release it for everyone else to use.

See also infos on thumbs.db file internals at http://vinetto.sourceforge.net/docs.html





0
 
LVL 1

Expert Comment

by:Computer101
ID: 21133095
Forced accept.

Computer101
EE Admin
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question