WTV - DDS file viewer

Overview
--------
WTV was developed for simple DDS viewing, escpecially for those DDS files with an alpha channel,
because there where no free or even commercial viewer/browser which can show image modulated by it's alpha channel.

Supported DDS pixel formats
---------------------------
* 8888
* 888
* 565
* 555
* 1555
* 4444
* DX1/A
* DX3
* DX5
* V8U8
* x8 ( G8, B8 not tested yet )
* R16F
* G16R16F
* A16B16G16R16F
* R32F
* G32R32F
* A32B32G32R32F

Instalation
-----------
Copy WTV.EXE to a permanent place (e.g. C:\Utils\Wtv\ in my case)
Current version of WTV needs to be manualy associated with DDS files,
so there is a way, how to do it in WinXP:
- right click on any DDS file
- select "Open With"
- select "Choose program..."
- click on "Browse" button and find the WTV app.
- click on "Open" button
- check "Always use the selected program to open this kind of file"
- click on "OK" button

How to use WTV
--------------
The fastest way of using WTV is associate it with DDS files.
Then, simply double-click or enter on any DDS file to view it.
Another way is to use Drag & Drop or the old good "File->Open..."
By default, the image will be modulated by it's alpha channel ( if there is one ).
If you want to disable that function, press "U" or click on menu->options->Use alpha channel.
Background color is ping by default ( can be specify ), so transparent pixels will be ping.
To view just alpha channel press "A" or click on menu->options->Show alpha channel.
You can browse through all DDS files in the same folder by the mouse wheel rotation, up/down or pgup/pgdn keys.
+/- keys zoom the image. When the mouse cursor is changed hand, the image is bigger than window and can be moved
by right-mouse button press + mouse move.
Left/right keys change current mipmap.

Keys recapitulation
-------------------
Up/Down, PgUp/PgDn, Mouse wheel -> previous/next picture
Left/Right -> change mipmap
+/- -> zoom in / zoom out
* -> reset zoom to 100%
A -> show just alpha channel
U -> use alpha = modulate by alpha channel
B -> specify background color
C -> ON/OFF window clipping to work area
Right mouse button press + mouse move -> move image which is bigger than the window

Status bar information
----------------------
Type - is always DDS in current version. I plan at least TGA support.
Format - pixel format of the current DDS file
Size - size of the current file mipmap
MipMap - current mipmap / mipmap count
Mem - memory taken by current mipmap / memory taken by all mipmaps together

Contact
-------
Tomas (Woody) Blaho
Illusion Softworks
tomas.blaho@illusionsoftworks.com

!! Any suggestions will be appreciated. !!

Version history
---------------
0.56b - DDS decoder improved ( very small mipmaps, different DDS headers )
0.55b - 16bit and 32bit floating point DDS pixel format support added.
      - backgroud color can be chosen through the dialog
      - channel usage/visibility information added to menu
      - last window pos, background color, use/show alpha, window clipping and used path are saved to the registry
      - key '*' resets zoom to 100%
0.52b - 8bit DDS pixel format support added. Just A8 and R8 were tested.
0.5b - "File->Open..." and Drag & Drop method implemented ( thx to Doug Rogers )
     - minor bug fixies
0.03b - First usable version.