DXT5 and Vb.net

Hi:

Is it possible to manipulate BMP files (DXT3 and DXT5) usingVisual Basic.Net?

Are there library routines and or api calls to load a file containing an Alpha channel and Mip maps, and after modifying them, save them back with Alpha and Mips? (I do not have access to C++, only to visual basic.net.)

The files I wish to edit are for use in FlightSim X, and are 512x512 DXT5 with an alpha channel for transparency and 8 Mips, used to display textures for vector graphic lines.

The task of the utilty I am writing is to load two or more existing bmp's into memory, then merge them so that the non-transparent pixels of the underlying layer(s) show through the transparent pixels of the overlying areas, then save the resulting "sandwich" as a new BMP file, with a new alpha channel containing any transparent pixels remaining, and a new set of MIP maps. It would also be desireable to display the loaded images and resulting image on the form using "picture box".

thanx......

joisey

[1075 byte] By [Joisey] at [2007-12-24]