[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: something that can display a Thumbs.db?



On 2/11/23 13:20, Linux-Fan wrote:
gene heskett writes:

Greetings All;

I'm in the middle pages of trying to build a voron 2.4 kit, a 3d printer. Definitely not recommended for beginners. Very poor assembly instructions. I've printed two versions of them, over 500 pages in dead tree format but am getting poor and often out of order or missing finishing touches, obviously the work of a designer who assumes this is the 50th such project the user has built and Just Knows what to do next..

I have unpacked the .stl files to feed cura and they generally work, but each major section of the printed stuff also contains a Thumbs.db file. I'm not familiar with databases enough to know what to do, but being able to see whats in this file in thumbnail form would sure help me to build the next part I need. So what do we have that can display whats in these files, from a Chinese originator?

File says this about one of them:
Thumbs.db: Composite Document File V2 Document, Cannot read section info

Thumbs.db is a file generated by Windows OSes to speed up image previews. Users are not usually expected to need reading the file. On Windows systems such files are usually “hidden” (Windows does not follow the convention of the leading dot meaning hidden) such that they end up in all kinds of places where they are not expected/useful.

Unless you are looking to extract minature previews of some ofther files in that same directory, Thumbs.db may well be of little use to you.

Or in other Words: Whatever information you are missing and want to extract from there, is unlikely to be contained in the Thumbs.db.

Is there something that can display the contents of that?

Debian has a package called `vinetto`. When I tried it on some random `Thumbs.db` from Windows-originating files, it bailed out with

~~~
Traceback (most recent call last):
  File "/usr/bin/vinetto", line 418, in <module>
    print(" " + TNid + " " + TNtimestamp + " " + TNname)
TypeError: can only concatenate str (not "bytes") to str
~~~

That looks like a python2 -> python3 migration issue to me.

But: It extracted one thumbnail from the Thumbs.db that looks plausible.

If you must know about the Thumbs.db's contents, it might be interesting to try this tool.

HTH
Linux-Fan
I pulled in 4 other bits of snaky stuff, but only displays info that might be of interest to windoze making little sense to a human.
vinetto Thumb.db gets me this:

gene@coyote:~/Downloads/3dp.stf/trident/stl.stf_from_slipper/01 Exhaust_Filter 空气过滤模块$ vinetto Thumbs.db
 ------------------------------------------------------
 File: Thumbs.db
   MD5: baab53eff2c588460a6989ccc5fb7a3b
 ------------------------------------------------------
 Root Entry
 --------------------
          Name: Root Entry
         Color: Red
   Prev Dir ID: -1
   Next Dir ID: -1
   Sub  Dir ID: 3
      Class ID: b'00000000000000000000000000000000'
    User Flags: b'00000000'
        Create: Wed Dec 31 19:00:00 1969
        Modify: Wed Feb  8 20:31:16 2023
       1st Sec: 3
          Size: 10240
 ------------------------------------------------------
 Stream Entry
 --------------------
          Name: 256_2e24f7a96182fb47
         Color: Black
   Prev Dir ID: 4
   Next Dir ID: -1
   Sub  Dir ID: -1
      Class ID: b'00000000000000000000000000000000'
    User Flags: b'00000000'
        Create: Wed Dec 31 19:00:00 1969
        Modify: Wed Dec 31 19:00:00 1969
       1st Sec: 0
          Size: 3393
 ------------------------------------------------------
 Stream Entry
 --------------------
          Name: 256_5b12f2389de528b5
         Color: Black
   Prev Dir ID: -1
   Next Dir ID: -1
   Sub  Dir ID: -1
      Class ID: b'00000000000000000000000000000000'
    User Flags: b'00000000'
        Create: Wed Dec 31 19:00:00 1969
        Modify: Wed Dec 31 19:00:00 1969
       1st Sec: 54
          Size: 3450
 ------------------------------------------------------
 Stream Entry
 --------------------
          Name: 256_3a5e33accfde5c5a
         Color: Black
   Prev Dir ID: 1
   Next Dir ID: 2
   Sub  Dir ID: -1
      Class ID: b'00000000000000000000000000000000'
    User Flags: b'00000000'
        Create: Wed Dec 31 19:00:00 1969
        Modify: Wed Dec 31 19:00:00 1969
       1st Sec: 108
          Size: 3328
 ------------------------------------------------------
 Stream Entry
 --------------------
          Name: 256_7ecd35efe1d0eb4
         Color: Red
   Prev Dir ID: -1
   Next Dir ID: -1
   Sub  Dir ID: -1
      Class ID: b'00000000000000000000000000000000'
    User Flags: b'00000000'
        Create: Wed Dec 31 19:00:00 1969
        Modify: Wed Dec 31 19:00:00 1969
       1st Sec: 26
          Size: 5104
 ------------------------------------------------------

Not usefull. OTOH, it didn't bail out either.

Many thanks for trying, take care & sty well.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>


Reply to: