tga files

davcaw
07-13-2004, 11:18 PM
does anybody know a control that will display a tga or can convert a tga to a jpg or gif?

Iceplug
07-14-2004, 10:49 AM
Surely, you should be able to draw a TGA file onto a form or a control.
In the Paint event, you can create graphics from the picturebox and create the TGA file into a Drawing.Bitmap. Then, use the Graphics .DrawImage method to draw the picture.
Also, with the Drawing.Bitmap, you can save it as a GIF or a JPG by using the .Save method of the Bitmap. :)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum