We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Extract Thumbnails from thumbs.db

akhachab
akhachab asked
on
Medium Priority
2,024 Views
Last Modified: 2008-03-15
Hello , Does any one have a Delphi CODE or a Component to Extract images from thumbs.db ???
Comment
Watch Question

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

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
already read that , i am looking for a Delphi Ready Component to use .
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? :)
Commented:
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





Forced accept.

Computer101
EE Admin
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.