thumbs.db viewer

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
solid
Power Member
Power Member
Posts: 749
Joined: 2004-08-09, 11:20 UTC

thumbs.db viewer

Post by *solid »

Hi all.
Is it possible to somehow view or extract the content of windows' thumbs.db file with TC (plugin) or external prog?
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

Why would you want it? It is only a cache for windows explorer thumbnail view mode AFAIK.
I switched to Linux, bye and thanks for all the fish!
User avatar
JohnFredC
Power Member
Power Member
Posts: 886
Joined: 2003-03-14, 13:37 UTC
Location: Sarasota Florida

Post by *JohnFredC »

Why would you want it? It is only a cache for windows explorer thumbnail view mode AFAIK.


"only"?

Well, since it is the cache, perhaps the thumbnails that have already been prepared and reside within it could be read quickly instead of having to be recreated every time you view the folder.

I am opposed to the proliferation of image caches and think all file managers (not necessarily image managers) should use the Windows image caches and caching mechanism instead of private ones.

Of course, if your images are small, you wouldn't care, but my images are large (4k x 20k pixels) and that little .db file cache is invaluable.
Licensed, Mouse-Centric, moving (slowly) toward Touch-centric
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

Oh, I see!
I switched to Linux, bye and thanks for all the fish!
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2JohnFredC
I have listed some pros & cons about storing thumbs in a single dir instead of saving them in a central database:
http://www.ghisler.ch/board/viewtopic.php?p=31615#31615
User avatar
solid
Power Member
Power Member
Posts: 749
Joined: 2004-08-09, 11:20 UTC

Post by *solid »

SanskritFritz wrote:Why would you want it? It is only a cache for windows explorer thumbnail view mode AFAIK.
2JohnFredC explained one reason why. Another is that only this file can be send on email for preview of whole dir of images (for users who found making index prints or or some other methods too complicated)

I'm sure someone else can find other uses.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately thumbs.db isn't documented by Microsoft, and there are no documented functions to access it either. Therefore I will have to use my own database in TC 6.5. But I don't think that too many users would use both Explorer and TC in parallel for thumbnail viewing.
Author of Total Commander
https://www.ghisler.com
User avatar
JohnFredC
Power Member
Power Member
Posts: 886
Joined: 2003-03-14, 13:37 UTC
Location: Sarasota Florida

Post by *JohnFredC »

A competitor (Servant Salamander) reads image thumbnails directly from the Windows db files (and very quickly, too!), so a method of reading the images must be publicly documented somewhere.

I expect that there must also exist a windows system call "refresh db file" that would trigger explorer to refresh the thumbnail data in a folder. Obviously, explorer itself executes that trigger when you enter a folder in thumbnail mode.

It probably isn't necessary to understand the structure of the db file itself.

Just guessing.
Licensed, Mouse-Centric, moving (slowly) toward Touch-centric
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I think that Servant Salamander is using reverse engineering to access thumbs.db, there is really no official documentation. Unfortunately reverse engineering is illegal in many countries.
Author of Total Commander
https://www.ghisler.com
Post Reply