AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Zip Thumbnails (Updated:version 4.0.1.6, February 10th 2010)
Goto page Previous  1, 2, 3, 4, 5  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Utilities & Resources
View previous topic :: View next topic  
Author Message
Yanishka
Guest





PostPosted: Tue Jan 05, 2010 6:17 pm    Post subject: Reply with quote

YOUR SIR.... ARE A GOD....

Works perfectly... only issue now is if the comic is in a folder inside the comressed archive the image won't show....

Donation is in order me thinkies =D
Back to top
T800



Joined: 15 Oct 2006
Posts: 56
Location: Croatia

PostPosted: Tue Jan 05, 2010 8:07 pm    Post subject: Reply with quote

Make sure you install the latest version (3.2.0.2) from the project homepage, it's all tested and works OK.
If there is still a problem with generating thumbnails I need to know precisely how to reproduce it so I can fix it, but I believe I've cleared all reported bugs.
Refreshing thumbnails can be particulary stubborn thing in Vista/7, in XP you have the right-click option 'refresh thumbnail'. If someone needs instructions how to delete Vista/7 thumbnail cache/aka force rebuilding all thumbnails, I'll give step-by-step instructions.

Sure, I accept donations in the form of beer. Wink
Back to top
View user's profile Send private message Visit poster's website
Guest






PostPosted: Wed Jan 06, 2010 12:32 am    Post subject: Reply with quote

two issues now

1. if the comic is in a folder inside the comressed archive the image won't show

2. not all thumbnails show cover even though they are the first file in the archive. why is that?
Back to top
T800



Joined: 15 Oct 2006
Posts: 56
Location: Croatia

PostPosted: Wed Jan 06, 2010 6:44 pm    Post subject: Reply with quote

1. If you are reffering to 'archive within archive' (eg. cbz/zip within cbr/rar), then no, only normal zip/rar is supported. Archives need to be fully extracted to be read reliably (theoretically it's possible to read nested archives, but under specific conditions and not-so-simple implementation).

2.
Original post:
Quote:

File used as the thumbnail is the first found image file, that is, the first image added to the archive. That depends on the archiver (WinZip,WinRar, etc.) and the way it sorts files. This is by design, because I wanted the ability to set the particular image for thumbnail (eg. Quicktime lets you set thumbnail aka 'poster' for mov files).
Arrow The simple way to set the particular image as thumbnail is to make sure it is the first one added to archive, that is, by right clicking it when making zip/rar.
Loading first found image also saves time, because scanning the whole archive can be lengthy, and would require a bit different code, but I don't have the time now (I do have a daily job), maybe in some future versions. Also, images larger than 32mb are skipped to avoid exhaustive memory consumption (everything is done in-memory). I did some research: 1920x1200 24bpp bitmap takes 6.5mb, 3264x2448 (8 Megapixel photo) 23mb, 4096x2304 27mb, but other image formats (jpg,png) are much smaller: 3464x3464 bmp (12 megapixel, 100% quality, 24bppp) takes around 34mb, but same jpg takes 2.5mb, so I estimated that 32mb limit is sufficient in all normal cases.

You can now choose how thumbnails are displayed (alphabetically / archive order) using settings utility.


Last edited by T800 on Mon Mar 08, 2010 6:51 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Guest






PostPosted: Thu Jan 07, 2010 12:49 pm    Post subject: Is this portable? Reply with quote

Is this portable? If I extract the CBXShell.dll from the .exe and register it am I good to go?
Back to top
T800



Joined: 15 Oct 2006
Posts: 56
Location: Croatia

PostPosted: Thu Jan 07, 2010 7:41 pm    Post subject: Reply with quote

Yes, it's portable, but note that cbxshell.dll depends on unrar.dll and GDI+ (it can't be registered without it).
Just put unrar.dll in the same folder as cbxshell.dll (putting it into windows\system32 folder is generally not recommended).
GDI+ is part of Win XP and later so Windows2000 also needs gdiplus.dll.
Back to top
View user's profile Send private message Visit poster's website
T800



Joined: 15 Oct 2006
Posts: 56
Location: Croatia

PostPosted: Sun Jan 10, 2010 12:45 am    Post subject: Reply with quote

Obsolete
Quote:
If you have CDisplayEx installed and cannot see thumbnails, run this fix.


Simply run installer, it will take care of it.


Last edited by T800 on Sun Jan 31, 2010 8:19 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Guest






PostPosted: Sun Jan 17, 2010 4:34 am    Post subject: Reply with quote

why can't it generate thumbnails alphabetically so that the first image is the thumbnail instead of using the first file that was compressed?
Back to top
Guest






PostPosted: Sun Jan 17, 2010 11:06 am    Post subject: Reply with quote

I mean is it possible to get the the 1st image alphabetically instead of the 1st file added? because that would be awesome, i wouldn't have to go through and change thousands of files.
Back to top
T800



Joined: 15 Oct 2006
Posts: 56
Location: Croatia

PostPosted: Mon Jan 18, 2010 6:43 pm    Post subject: Reply with quote

I'm working on that version also.
I will probably put both flavors in the download package when I finish it.
'When' depends on my free time.
Back to top
View user's profile Send private message Visit poster's website
noboy
Guest





PostPosted: Tue Jan 19, 2010 4:05 pm    Post subject: Reply with quote

zip and rar doesn't thumbnail, cbz and cbr only, is this normal? I don't have cdisplay or anything in my 64bit win7.
Back to top
T800



Joined: 15 Oct 2006
Posts: 56
Location: Croatia

PostPosted: Tue Jan 19, 2010 6:53 pm    Post subject: Reply with quote

The thumbnail handler was primarily made for cbz/cbr files. To add thumbnails to zip/rar, copy the following to Notepad and save as "whatever.reg" (make sure you type quotes when saving to prevent Notepad from appending .txt file extension instead of .reg). Then doubleclick it to merge it to registry and logoff/reboot/clear thumbnail cache, whatever works for you (xp,win7 etc.)

______cut here________
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.zip]

[HKEY_CLASSES_ROOT\.zip\shellex]

[HKEY_CLASSES_ROOT\.zip\shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]
@="{9E6ECB90-5A61-42BD-B851-D3297D9C7F39}"

[HKEY_CLASSES_ROOT\.rar]

[HKEY_CLASSES_ROOT\.rar\shellex]

[HKEY_CLASSES_ROOT\.rar\shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]
@="{9E6ECB90-5A61-42BD-B851-D3297D9C7F39}"
______cut here________

hmmmm, looks like I'll have to make a shell extension manager utility for all this little things.
Back to top
View user's profile Send private message Visit poster's website
noboy
Guest





PostPosted: Wed Jan 20, 2010 12:01 pm    Post subject: Reply with quote

Thanks for the quick reply, but it didn't work... I also restarted and cleared my cache.

Do I have to clear something in my registry or is there something with win7 security blocking what I'm doing? I only got avast... and I use Mangameeya to open my rars and zips as default program.
Back to top
T800



Joined: 15 Oct 2006
Posts: 56
Location: Croatia

PostPosted: Wed Jan 20, 2010 6:34 pm    Post subject: Reply with quote

Oooooops, I forgot that code checks only for cbz and cbr extensions.
I'll change the code, that registry trick will work. Right now I'm working on new version, so hold on.
Back to top
View user's profile Send private message Visit poster's website
noguy
Guest





PostPosted: Thu Jan 21, 2010 12:31 am    Post subject: Reply with quote

Thank you! I was worried for a moment there. Smile
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Utilities & Resources All times are GMT
Goto page Previous  1, 2, 3, 4, 5  Next
Page 2 of 5

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group