Thumbnails in Zip Files
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 35
- Joined: 2006-09-11, 14:58 UTC
Thumbnails in Zip Files
Can tc V7 Do thumbnails in Compressed Files?
- StickyNomad
- Power Member
- Posts: 1933
- Joined: 2004-01-10, 00:15 UTC
- Location: Germany
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This isn't currently supported. Why? Because of solid archives (RAR, SQX etc): The entire archive would have to be extracted to get just a single thumbnail from the last file. So if you enter a 500 MB backup which is sorted in a way that the last file in the archive appears at the top, you would have to wait until the entire 500MB have been extracted until you see the thumbnail...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
2ghisler(Author)
Although it's of course true that solid archives are really a problem here this shouldn't be a reason not to support archives at all. The latest XNView also supports thumbs in archives (even SQX
).
What about a new function which informs TC about the archive type (solid or not solid).
Packers who don't support this function automatically don't support thumbnails in archives.
This would allow options like
[ ] Enable thumbs in archives
[ ] Enable thumbs even in solid archives
The 2nd option could support "by filetype options". These means I could allow thumbnail extraction only for SQX archives but not for RAR archives (for example) and only for files smaller 20 MB.
A simpler option which just limits the archive size would also be okay.
It's really too late for TC 7 but something that should be considered sooner or later.
Although it's of course true that solid archives are really a problem here this shouldn't be a reason not to support archives at all. The latest XNView also supports thumbs in archives (even SQX

What about a new function
Code: Select all
int PackerGetArchiveType (char* archiveName)
Packers who don't support this function automatically don't support thumbnails in archives.
This would allow options like
[ ] Enable thumbs in archives
[ ] Enable thumbs even in solid archives
The 2nd option could support "by filetype options". These means I could allow thumbnail extraction only for SQX archives but not for RAR archives (for example) and only for files smaller 20 MB.
A simpler option which just limits the archive size would also be okay.
It's really too late for TC 7 but something that should be considered sooner or later.
Support++This would allow options like
[ ] Enable thumbs in archives
[ ] Enable thumbs even in solid archives
The 2nd option could support "by filetype options". These means I could allow thumbnail extraction only for SQX archives but not for RAR archives (for example) and only for files smaller 20 MB.
A simpler option which just limits the archive size would also be okay.
It's really too late for TC 7 but something that should be considered sooner or later.
______________________
David Jorge
Personal License #117854
David Jorge
Personal License #117854
Nice function !
2Lefteous
Hello Christian !

• I support such a function in the way you present it, that sounds very good !
VG
Claude
Clo

• Let guess who did request this ?The latest XNView also supports thumbs in archives (even SQX).

• I support such a function in the way you present it, that sounds very good !

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials