Thumb Plug TGA

Can you figure out what's different about this picture?

Look close.....The difference is you are seeing thumbnails for TGA files inside Windows Explorer!!!  That also means you can see them inside pretty much any file open / file save dialog.  Hooray!

Windows 2000 and XP provide thumbnails for .JPG, .GIF, .BMP, .AVI, .MPG and a few other formats.  What's cool though is Windows 2000 and XP also provide an API for adding support for more formats.  So, I found an example, whipped out some old TGA code and threw this together.

Not too many *normal* people use the TGA format but in the video and computer game industry it's pretty popular.  Probably because it's supported by most graphics software and because it's very simple to use.  You can read or write a basic TGA file in just a few lines of code.

Just in case you are not aware, the same function is available inside the normal Windows standard file open/save window so for example if you are in Maya selecting a texture file you can select by clicking on a thumbnail instead of having to remember the name of the file.

To do this, in the file open/save window you click the last icon on the right and pick "thumbnails" (1)

Also, just incase you didn't notice you can resize the standard file open/save window (2) so that you can see more files at once.

Download:

You can download the installer by clicking the link below.

thumbplug_tga1.10.exe (268k)
[ for TGA (Targa) files ]

There is also a version for Softimage PIC files.

thumbplug_pic1.11.exe (309k)
[ for PIC (Softimage) files ]

And for Maya IFF files.

thumbplug_iff1.09.exe (314k)
[ for IFF (Maya) files ]

THERE IS NO WARRANTY HERE.  USE THIS AT YOUR OWN RISK!  THERE IS ALSO NO SUPPORT!

Notes:

The TGA(Targa) format supports many formats but most of them are pretty rare.  For example, TGA files can have their images stored in any direction, right to left, bottom to top, top to bottom, left to right.  They can also support 15 and 16 bit pixels.  But, in my personal experience, I've never seen a TGA file stored any way other than bottom to top + left to right.  I've also never personally used a 16 bit TGA file nor have I used or seen any of the other options.  Therefore, there is no support for those other formats in this plug in.  If you need support, see below

The PIC format also supports many formats.  This plugin currently only supports 24bit and 32bit files.

Version History:

TGA
v1.09 2003-02-02
  • first public release
v1.10 2004-08-15
  • attempted to fix issues with vertically flipped files
PIC
v1.11 2003-02-02
  • first public release
IFF
v1.09 2003-02-02
  • first public release

Source Code:

The source is provided under a FreeBSD style license.  If you do find a bug or add a feature I'd be happy to hear about it for if you find it really useful it would be nice to hear.

You can download the source code here

thumbplug_tga_src1.10.zip (28k)
[ for TGA (Targa) files ]

thumbplug_pic_src1.11.zip (25k)
[ for PIC (Softimage) files ]

If you download the source be sure to read the readme.  It's important that you make a new CLSID or there will be conflicts.


Pass it on

Comments:[1][2] 3
Thumbplug for Windows ME Edition
I wonder if this can be me to work with Windows ME?? Can someone help me with that?

Mike
posted by MikeFebruary 3, 2007 at 13:16 [ e ]
TGA thumbplug
I am trying to view TGA files in the Thumbnail view

Mike
posted by MikeFebruary 3, 2007 at 13:20 [ e ]
I think your software has ...
"Start > All Programs > System Tools > System Restore > Restore My Computer to an Earlier Time" should cure any software problems that have occured since the date you choose to restore back to (without loosing data files). See http://www.microsoft.com/tec
hnet/prodtechnol/winxppro/ma
intain/xpsysrst.mspx
 for details.
posted by JimFebruary 3, 2007 at 15:33 [ e ]
ooooo it helps alot

thank you wery wery much ;}

posted by VFebruary 13, 2007 at 6:34 [ e ]
Great job!

Oddly enough I happened across this immediately after looking over the api docs at Microsoft.  Great job.

I did find one particular use for the 15/16bit targa format.  The 15bit format was used extensively in N64 games.  In that case, the unused 16th bit indicated alpha.  When set, the color is visible.  I've been meaning to add the support for this into GIMP, but there's always about a million other things that need to be done.

Excellent work again!

posted by ZoinkityFebruary 26, 2007 at 11:17 [ e ]
Vista
I am wondering if this works with Windows Vista.  If it does...can you explain how I'm supposed to use it?  I have installed it, but cant figure out how to get my pics to open using it...i am a gamer who saved some screenshots, but have never worked with opening them before.  Thanks!
posted by KyleFebruary 27, 2007 at 18:16 [ e ]
MayaIFF thumbnail
Awesome! thanks dude!
posted by hajimeApril 4, 2007 at 20:41 [ e ]
doesnt work for windows xp Pro (x64)
This worked for me until I upgraded to new x64 windows ... still installs fine, but doesnt work ... is there any work arounds ?
posted by sgt_whyMay 9, 2007 at 13:15 [ e ]
convert to .jpg

Is there anyway i can convert a .tga format file to a .jpg format. I wanted to post a screenshot onto my forum.

Thanks

posted by PatrickJuly 14, 2007 at 14:34 [ e ]
wondering
Is it then possible 2 make a script like yours that will allow windows 2 automatically take say frame 20 of an avi file and use that as the thumb? Also what files should i poke around 2 figure windows thumbnails out? I'd appreciate a line. thnx
posted by PhilipPrescottAugust 8, 2007 at 19:05 [ e ]
Great plugin...

but I'd love to see a little added functionality in adding support for getting BIG priviews using FILMSTRIP mode.

Right now you do get little thumbnails, which is admittedly SWEET, but having it work with filmstrip mode where one could zoom in and scroll around like with JPEGS would be uber indeed...

posted by JeffKraschinskiAugust 20, 2007 at 7:50 [ e ]
THUMBNAIL IN?
WEEL. IAM USING 3DS MAX9 AND I HAVE NO IDEA HOW TO USE THIS AND BRING IN MAX......

I DOWNLOADED IT N INSTALLED IT BUT I COULDNT USE THEM IN MAX
posted by musOctober 3, 2007 at 20:07 [ e ]
Works in Vista Ultimate
This is a nice little utility. Finding something like this is fantastic for someone who uses/makes alot of TGA files. Thanks alot for creating it... as a side note, this does work on Vista Ultimate (not sure about the other versions but I would think it would work for them as well).
posted by SKOriginalsOctober 13, 2007 at 11:28 [ e ]
No workie on Windows XP 64-bit...
Confirming what was stated above.  Installs fine, but doesn't work on 64-bit Windows.

Sadness.  Much of our stock library is in .PIC format.

Guess I can look at the source...
posted by AnonOctober 31, 2007 at 11:43 [ e ]
Vista Business
Can anyone tell me if this utility works properly with Vista Business ?
posted by anonNovember 3, 2007 at 3:52 [ e ]
Kudos
This plugin saves heaps of time managing Targa files, wish ms would include support for a wider array of common picture file formats in their thumbnails.
Works great on WinVista Ultimate x86/32bit, thanks a lot!

p.s.: @some above comments: this PI is for displaying thumbnails in Windows Explorer - not for converting them or viewing them in full res, you'll have to get a picture viewer/converter/editor or sth. for that (*hint*google*/hint*)
posted by RobertDecember 31, 2007 at 13:10 [ e ]
thanks
excellent and most useful thanks for sharing this
posted by SegyDecember 31, 2007 at 16:14 [ e ]
Wow!
OMG, as an Unreal Engine mod developer, I tend to use a ton of TGAs, and I've off and on looked for soething like this for a long time.  I LOVE IT.
posted by EricBladeJanuary 13, 2008 at 17:59 [ e ]
Update
I emailed greggman about this and received his permission.  I took the plug-in and integrated a few formats...

PSD, DDS, TGA, XPM

http://www.uproar-interactive.com/tools.html

I have the artists at my company using it, so I may add some more formats upon request.  Greg saved me tons of time, but I needed a bit more, so I'm offering it up to save more people time.
posted by flybyJanuary 15, 2008 at 12:31 [ e ]
nice, but could it show a bit more?
Does this plugin control the pop-up text when you mouseover?  For other image types such as PNG the resolution is show in this info.  Some basic TGA info found in the header would be handy: resolution, TGA type/format.  Thanks for a handy helper.
posted by ChrisJanuary 30, 2008 at 15:36 [ e ]
Good idea
Found the information, will work on it this weekend.
posted by flybyFebruary 1, 2008 at 16:12 [ e ]
indispensable!
as a modmaker for Doom3, im working a lot with .tga,
and with this great prog i dont have to fireup
Pshop every time i just wanna view a .tga (which is, as you say, VERY common with games)
Kudos and a beer to you!  =)
posted by ice_treyFebruary 17, 2008 at 16:23 [ e ]
ありがとうございます
このようなソフトをずっと探していました。
posted by HiroshiApril 9, 2008 at 3:32 [ e ]
Not working for 64bit windows
Confirm. but also the proffesional DDS thumbs of nvidia arnt working in win64
posted by ChrizzApril 17, 2008 at 13:49 [ e ]
64-bit support would be nice
I'd just like to add one more request for Vista 64-bit support. I used to use this all the time but am on Vista 64-bit now where it doesn't work. Hope you can find the time some day to include support for it!
posted by SpoondogJune 21, 2008 at 20:13 [ e ]
I second that!
I got used to it before I installed 64-bit XP.   It was so much nicer then.  Oh the good old days!
posted by NickJune 27, 2008 at 21:46 [ e ]
Vertical Centering
Very useful tool, thanks!

I just noticed a minor detail. In my Windows XP, for already supported formats (eg: PNG), thumbnails are vertically centered in the space their occupy. With your plug in the image is top aligned. So when browsing a folder containing both PNG and TGA the TGA files looks misplaced.
It's a minor detail though.
posted by OmarJuly 25, 2008 at 9:57 [ e ]
1000 thanks!
Both iff and tga thumbs were equally super useful! Everything working smoothly fast and easy!
posted by plantformSeptember 5, 2008 at 12:54 [ e ]
instal?
i know that to uninstall u can make regsrv32 /u name.dll, but how to make isntaller for other ppl?
posted by aaSeptember 24, 2008 at 10:09 [ e ]
Solution for Windows Xp x64 or Windows Vista x64
Hi all,

It seems to a great great problem for x64 users with TGA thumbnail...

I found a expensive way to view TGA thumbnail  in explorer..

Basically there are two ways to do that...

1st.

If you are using... Windows XP/Vista x64 explorer.exe...
Then you have to Install... DXSDK_Jun08.exe  From here http://www.microsoft.com/dow
nloads/details.aspx?FamilyID
=519aae99-b701-4ca1-8495-39ddde9d7030&displaylang=en


Approx Size of it is :  458 MB... which is too much for any of you...

2nd.

If you are not planning to download that much amount ... here is a simple solution for you.. but if you use that you will loss some x64 capability because we are going to kill explorer.exe(x64) by Task Manager.. But still you can run any of your Installed x64 application in that...

so here is simple process..

Run the Task Manager > Kill Explorer.exe > Go To File > Paste > C:\\WINDOWS\\SysWOW64\\explorer
.exe > Hit Enter..

Now you are in x86 Structure any now you can able to view PSD Thumbnail if you were previously installed it and also DDS and TGA... in Explorer...

I hope that will help you all...
posted by SmartDevilNovember 5, 2008 at 23:14 [ e ]
hi, any way of making a reader like this for RPF?
posted by TheNudgeNovember 12, 2008 at 5:33 [ e ]
Good job

Thank you!! Thank you!! Thank you!! Thank you!! Thank you!!

posted by CloudFebruary 19, 2009 at 5:31 [ e ]
.tga thumbnail view

in windows 2000 pro without your plugin UNCOMPRESSED .tga's were shown in thumbnail view I never checked to see if your plugin allowed compressed '.tga's to be viewed on win2k I havent been able to get this plugin to work on Windows XP  32 or 64bit I use .tga's exclusively for creating motocross madness 2 world maps I no longer use 32 bit windows XP x64 works better than any 32 bit XP install i have seen also a plugin for daylon levelller .ter files that shows heightmap in thumbnail view failed to work also on 64 bit xp mabey i have a necessasy service turned off?

anyway love your stuff greg keep it up, randy

posted by AuthorizedUserMarch 25, 2009 at 2:43 [ e ]
2d/3d artist
Thanks! :D
posted by AndrewMarch 30, 2009 at 4:17 [ e ]
Vertical Centering
I have just discovered this excellent Explorer plug-in (so MUCH better than having to use a whole different 3rd part application).

However, I there is a problem with vertical centering. TGA images are pushed to the top of the Thumbnail and therefore they are not centered and do not align with all other format thumbnails. I was just about to point this out to the author when I realised that someone else has already made the same comment because they are experiencing the exact same issue.

It would be great of this issue could be resolved.

Thanks!
posted by JustinApril 17, 2009 at 15:39 [ e ]
Thanks a million, great plugin!!
posted by ZakMay 12, 2009 at 6:49 [ e ]
Installation fails

My installation fails with the comment "tgatool.dll could not be registered"

How can this be fixed?

Thanks,

posted by MickBergMay 23, 2009 at 15:46 [ e ]
ty
Since few are saying it, thanks for making this. Any chance you can make it work for filmstrip previews as well?
posted by anonMay 29, 2009 at 23:21 [ e ]
Works with Windows Vista Home Basic 32-bit
hey, this works with Vista home basic 32 bit too!

Thanks Greg! :)
posted by RohanJune 5, 2009 at 10:08 [ e ]
very handy
saved me a lot of time after unpacking some game data files to quickly scroll through the thumbnails, as opposed to paging through an image viewer. thanks for this handy plugin
posted by FarisJune 12, 2009 at 22:12 [ e ]
Thanks for sharing
:)
posted by JanusSeptember 21, 2009 at 2:25 [ e ]
Running in winx64
You can use this shell extension on a folder by opening explorer in 32 bit mode by running this:
%windir%\\SysWOW64\\exp
lorer.exe /separate, /root, "c:\\your folder"
posted by 64bituserSeptember 23, 2009 at 2:58 [ e ]
great program
very useful, thank you.
posted by kevinOctober 2, 2009 at 11:30 [ e ]
Great Program
I love how you offer it  to people  without trying to  make profit  thats good person  sure some people may have bugs . but i do not see anyone else  coding it .  great work greg
posted by CodeMasterOctober 26, 2009 at 3:26 [ e ]
pls update this for windows 7! i tried it but it doesnt work:( thanks
posted by BryanOctober 27, 2009 at 2:43 [ e ]