I did a very, very simple test with loading the same image, several thousand times in several different formats. I came up with:
2195ms - png (with transparency. Seems to load much faster)
6699ms - bmp (256 color)
3332ms - bmp (24bit [16mil])
9873ms - tga
I did this test because i'm hoping to find or maybe even create the best pixel perfect vs speed image format. I would have figured a bitmap would load faster, as it doesn't have crazy compression, but it seems gif and jpeg are the winners (and losers of quality).
This test was using the LoadImage() function. I'm just curious if anyone has any theories on how to load images more quickly using a custom format, or by manipulation.
Please discuss.
2195ms - png (with transparency. Seems to load much faster)
6699ms - bmp (256 color)
3332ms - bmp (24bit [16mil])
9873ms - tga
I did this test because i'm hoping to find or maybe even create the best pixel perfect vs speed image format. I would have figured a bitmap would load faster, as it doesn't have crazy compression, but it seems gif and jpeg are the winners (and losers of quality).
This test was using the LoadImage() function. I'm just curious if anyone has any theories on how to load images more quickly using a custom format, or by manipulation.
Please discuss.