file formats

Blitz3D Forums/Blitz3D Programming/file formats

Hi guys..
Just a quick question about gfx file formats, if I may?

Whilst considering which format to use for my textures,
I did some experimentation to find out which file format to use.
With a 1024*1024 plain white texture (16 bit), the four formats I tried gave the following results:
.bmp 2,049kb
.tga 2,049kb
.jpg 78kb
.png 22kb

With the same size and bitdepth, but with a very colorful picture, I got:
.bmp 2,049kb
.tga 2,049kb
.jpg 986kb
.png 1,800kb

Now, obviously the .jpg and .png are both compressed file formats..
I realise that the gfx card stores textures in it's texture memory, but are these stored in compressed or uncompressed form? If they are stored in compressed form, is there a performance penalty from using compressed textures?

For example:
In the case of my game, one of my textures is 495kb as a .jpg, rather than the 2,049kb as a .bmp.
If the gfx card is storing these uncompressed, then the only advantage from using compressed file formats is disk space. However, if they are stored on the gfx card in compressed form, then there must surely be a speed hit for decompression in exchange for the 'extra' texture space?

Many thanks!