Sign in to follow this  
Seriema

DDS(new!), TGA and PCX thumbnail support for MS-WinXP! public BETA test

Recommended Posts

Hello! News - 13th October, 2004 Hurray! Beta 1.1.1 has been released! It comes with the possibility for several filetypes per Thumbnail Extractor, and thus introducing BeerPack, one simple install; three image supports! "Three?" you say? YES! DDS support has arrived! Now go fetch! Note0: The new Thumbnail Extractors can't be used with old ThumbView, and vice-versa. Note1: Beta 1.1.0 was a closed beta test. Note2: School is in kill-mode. I won't be coding unless there are bug reports. Nor will DigitalDelusion. Intro ThumbView is a shell extension, that means it enables Windows XP Explorer to show thumbnails of formats not nativly supported by Windows XP when browsing in miniature-view! ThumbView handles windows registration, and all you need to do is download the extractors for the formats you want to have support for! Summary ThumbView enables windows to show thumnbails and infotips for fileformats that aren't nativly supported, by registering itself and using external Thumbnail Extractor DLL's for the actual image extraction. This gives ThumbView a very extensive support for thumbnail generation. It is very easy to write your own extractor if you have a custom format, or want to have support for some other format like PNG. ThumbView takes care of all the windows registration and integration. All you need to know is how to extract your dream format to a byte stream. Note! ThumbView is a shell extension which means it does not run as a process or eat memory or whatever. Windows only calls it when needed. There has been some requests for using ThumbView differently. Like generating a thumbnail for 3D models. Or having it display specific frames in .mpg files. How it got started When I was working on our project game Ninja Battles we had alot of PCX and TGA images. Keeping track of them was a big hassle because we had to open them in PaintShop Pro since Windows doesn't nativly support those files for generating thumbnails. After considering paying $8 for a commercial PCX thumbnail enabler, I decided to write my own. So here it is! Who are making it This is a joint cooperation between me and DigitalDelusion. I write the ThumbView package (see below). He writes the actual image extractors with his BEER (Bitmap Encapsulation & Extraction) library which currently supports dds, pcx, tga, gif and bmp. He's my 2nd party Thumbnail Extractor developer, and soulbrother. Technical data All code is open source, released under the MIT license. Feel free to comment the code or ask questions. ThumbView is separated in 4 parts. ExtractorManager, Registry, ShellExtension and Thumnbail Extractors. ExtractorManager is the actual UI (user interface) for controlling what Thumbnail Extractors are active. It also allows for uninstalling Thumbnail Extractors and autoinstalling extractors (called .tvx files). There are now two of them, the graphical is written in C#.NET. The simple comman version is in plain C++ and using a little Win32 API. Registry is the bridge between the ExtractorManager and the Thumbnail Extractors. This has three advantages. 1) Makes it possible to write the extractors using unmanaged C++ or C while using C# for the UI. 2) Handling all extractor registration, thus keeping functionality away from UI. 3) Makes creating new UI's really simple, example: ExtractorManager could be made using Nullsoft Installer. Registry is a DLL written in C++ and using Win32 API. ShellExtension handles all the windows integration. This is the actual DLL called when Windows want's a thumbnail or a infotip. It uses Registry to get ahold of the correct Thumbnail Extractor and extract the needed info/thumbnail. ShellExtension is a DLL written in C++ using ATL/COM and Win32 API. Thumbnail Exractors are more like 3rd party plugins. All they need to do is extract a thumbnail and/or provide image information. The user only installs/enables the Thumbnail Extractors they want. Ie. some users already have TGA support. These can be written with custom loaders, or wrap around existing libraries such as BEER and DeViL. They are written in either C or C++ and provide 2 functions necessary for windows extension and 3 functions for Thumbnail Extractor management. Comments and suggestions ALL comments are welcome! Everything from "the installer sucks" to "I'd like to see previews in explorer"! As long as it's backed up with an idea of how you'd prefer it to be ;) Current version Beta 1.1.1 Current features ¤ DDS, PCX and TGA support (displays alpha grid for transparency) ¤ Thumbnails in explorer ¤ InfoTips in explorer ¤ Autoinstalling Thumbnail Extractors ¤ One or multiple filetypes per Thumbnail Extractor ¤ Both Graphical(.NET) and Console versions of ExtractorManager In progress Seriema - making a DevIL Pack Where to get it Go here for the main page, or start downloading now!

Note! You have to download and install the program first. Then you just download and open the extensions you want!

Cheers! /JP [Edited by - Seriema on October 16, 2004 1:43:54 PM]

Share this post


Link to post
Share on other sites
Quote:
Original post by mike25025
i downloaded it and installed but it didnt do anything


didn't do anything as in even though you can see thumbnails of jpgs and bmps you don't get them generated for tga's or didn't do anything in some other way?

Works fine for me.

Share this post


Link to post
Share on other sites
mike25025, that you have TGA support already probably means that you have Photoshop installed. I have the same thing, that's why I separated the PCX and the TGA so you can download only what you need ;)

Unless you missed it, you have to download each support file separatly.

Share this post


Link to post
Share on other sites
*big smile* thank you benryves! *yummies down on the caek and pi with rating sprinkles*

If you have any comments whatsoever please tell me =)

I have found a minor bugg. I'll fix it as soon as I get home.

Share this post


Link to post
Share on other sites
Ok bugs fixed! Beta 1.0.1 is released. Everyone that downloaded Beta 1.0, please reinstall (or just overinstall) with this new one! Fixed some issues involved with uninstalling.

Share this post


Link to post
Share on other sites
One minor complaint; I keep all my downloads and installers in a folder in case of reinstallations; however, the files which add PCX/TGA support delete themselves [sad]
Optional?

Share this post


Link to post
Share on other sites
OK! That's easy to fix. I'll implement it till next release =) Would you prefer a Message box asking you if you want to delete it, or just leave a copy there so you delete it if you want to manually. I vote for the later. [edit] Ok it's done! I'll be adding version checking tomorrow probably. Any comments how it should react when installing a older/same/newer version? My first thought would be to just tell the user if the Thumbnail Extractor being installed is older/same/newer. But I could add the option to remove the old and add the new if the new version is newer than the old (wow... say that 10 times fast!).

The next release will include DDS support and support for multiple image formats per Thumbnail Extractor. So stay tuned!!

[edit] hey there Digital =D

Share this post


Link to post
Share on other sites
Also, I just installed with .NET framework 1.0 on my system and it brought up scary messages when installing. I had to uninstall, install 1.1, then try again before it'd work.

Share this post


Link to post
Share on other sites
Sorry about that =( But the user interface (ExtractorManager.exe) is written in C#.NET and thus requires the user to have .NET installed. I'll try to bring it down to 1.0 instead of 1.1 though. I wanted to distribute the needed .NET framework with my install, but it doesn't seem possible. If there are more people without .NET installed I'll consider rewriting the user interface using wxWidgets or something else that doesn't require anything special from the user.

Oh, and was the message really scary or was that just a joke? =) Because the current message is: "Sorry you don't have .NET Framework installed. Please download and install 'Microsoft .NET Framework Version 1.1 Redistributable Package' from www.MicroSoft.com. The installer will now abort.". If someone has a suggestion I'll change the message.

Thank you for your comments, they are very valuable! =) *gives caek*

Share this post


Link to post
Share on other sites
After considering porting the ExtractorManager to wxWidgets I've come to the conclusion that this would take to much time, time that I could spend on introducing new features to ThumbView.

A superb idea from DigitalDelusion is that I make a simple console app. This is so great since I have one from the Alpha stage and that the functionality is in Registry.dll. So I'll be spiffing up the old console version after my "date" in a few hours ;) How I'll do with the installer I'll have to check up on after that.

Is this satisfactory benryves and BlackMoons? That you who don't want .NET have to settle for a small console application for managing the extractors?

Share this post


Link to post
Share on other sites
Quote:
Original post by Seriema
So I'll be spiffing up the old console version after my "date" in a few hours ;)


Heeeheee... he said date...

does she have a lot of ram? a nice gfx-card meebe? 64bit cpu?

:P~

Share this post


Link to post
Share on other sites
Quote:
Original post by Seriema
Oh, and was the message really scary or was that just a joke?


It was more along the lines of (just at the end of the installation) "Couldn't start xxxx.dll", where xxxx.dll was a .net DLL.

Share this post


Link to post
Share on other sites
Quote:
Original post by benryves
Quote:
Original post by Seriema
Oh, and was the message really scary or was that just a joke?


It was more along the lines of (just at the end of the installation) "Couldn't start xxxx.dll", where xxxx.dll was a .net DLL.


What? Really? Was that beta 1.0.0? Because the installer of Beta 1.0.1 should check before installing =/ Beta 1.1.0 will be released any day now, and that includes a check'er for .NET as well as a alternative executable (a console version made in plain C++). It will notify on install that you don't have .NET and a console version of ExtractorManager will be installed instead. Please contact me if the problem remains even after the new beta.

Share this post


Link to post
Share on other sites
A new version has been released! Along with several new features:

  • BeerPack, three Thumbnail Extractors in one!

  • DDS image support!

  • A console version of ExtractorManager for you people without .NET! The installer will automaticly detect if .NET is/isn't installed and install the correct one for you!



JP, over and out!

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Great work man! The DDS support works great for me and was the one format I wanted most of all! *offers iced-caek*

Can't wait to try this on my own PC with more DDS's =)

Share this post


Link to post
Share on other sites
Great programm!!!!

The link to DDS support [60kb] doesn't work here.
(link wants to go to DDS_Support.tvx, but it has to be DDS%20support.tvx)

Share this post


Link to post
Share on other sites
Quote:
Original post by Anonymous Poster
Great work man! The DDS support works great for me and was the one format I wanted most of all! *offers iced-caek*


Nice to hear it works smoothly if you find any DDS files that won't show dont hesitate to give me a yell and I'll try to fix it ASAP.

Share this post


Link to post
Share on other sites
Quote:
Original post by Litheon
Great programm!!!!

The link to DDS support [60kb] doesn't work here.
(link wants to go to DDS_Support.tvx, but it has to be DDS%20support.tvx)


Hehe forgot to debug the homepage :P The PCX and TGA links have the same prob.
Update: The links on the homepage are fixed now! thx!


Thanx for your support guys! Let us know if you encounter any problems or have any tips/suggestions for features or whatever :)

*parties with pi and caek*

[Edited by - Seriema on October 14, 2004 12:07:51 PM]

Share this post


Link to post
Share on other sites
Sign in to follow this