Thread: Which is better?

  1. #1
    Registered User
    Join Date
    Jan 2003
    Posts
    38

    Which is better?

    Which is better to use to display a picture a .bmp, .jpg , .gif or what.... As in speed Little CPU usage and such... I don't want to waste all this memory on displaying a picture that only adds to the feel of the program.

  2. #2
    I lurk
    Join Date
    Aug 2002
    Posts
    1,361
    Bitmap.
    It's not compressed or encoded, so you don't (or the CPU doesn't) have to decode it before sending it to video memory.

  3. #3
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,490
    For disk space, another format may be preferable. But if you're talking about CPU cycles and memory, bitmap works better. Any compressed image will be stored in memory uncompressed if it is to be viewed.

Popular pages Recent additions subscribe to a feed