this may seem like a strange question, and I don’t know the image formats, so I’ll just go and ask ...
I make a minesweeper game (which also applies to different things), which uses a grid of buttons, and then add a sprite to the buttons using backgroundImage . If the grid is 9x9, then this is normal. 15x15 slows down, and 30x30 you can see every downloadable button.
This brings me to my question: which image format will load the fastest? Obviously, the file size takes part in the download speed, however I ask the question whether, say, jpeg - with the same file size as gif - will load faster. or bmp, png, etc.
I ask for this to find out if I can load my grid faster using a different format.
Thanks!
source share