AutoHotkey Community

It is currently May 27th, 2012, 1:47 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 94 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 7  Next
Author Message
 Post subject:
PostPosted: January 5th, 2010, 6:17 pm 
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


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 5th, 2010, 8:07 pm 
Offline

Joined: October 15th, 2006, 2:39 am
Posts: 93
Location: Croatia
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:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 6th, 2010, 12:32 am 
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?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 6th, 2010, 6:44 pm 
Offline

Joined: October 15th, 2006, 2:39 am
Posts: 93
Location: Croatia
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 March 8th, 2010, 6:51 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject: Is this portable?
PostPosted: January 7th, 2010, 12:49 pm 
Is this portable? If I extract the CBXShell.dll from the .exe and register it am I good to go?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 7th, 2010, 7:41 pm 
Offline

Joined: October 15th, 2006, 2:39 am
Posts: 93
Location: Croatia
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 10th, 2010, 12:45 am 
Offline

Joined: October 15th, 2006, 2:39 am
Posts: 93
Location: Croatia
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 January 31st, 2010, 8:19 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 17th, 2010, 4:34 am 
why can't it generate thumbnails alphabetically so that the first image is the thumbnail instead of using the first file that was compressed?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 17th, 2010, 11:06 am 
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.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 18th, 2010, 6:43 pm 
Offline

Joined: October 15th, 2006, 2:39 am
Posts: 93
Location: Croatia
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 19th, 2010, 4:05 pm 
zip and rar doesn't thumbnail, cbz and cbr only, is this normal? I don't have cdisplay or anything in my 64bit win7.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 19th, 2010, 6:53 pm 
Offline

Joined: October 15th, 2006, 2:39 am
Posts: 93
Location: Croatia
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 20th, 2010, 12:01 pm 
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.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 20th, 2010, 6:34 pm 
Offline

Joined: October 15th, 2006, 2:39 am
Posts: 93
Location: Croatia
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 21st, 2010, 12:31 am 
Thank you! I was worried for a moment there. :)


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 94 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 7  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group