Page 1 of 1
bmp Compression

Posted:
Sep 6, 2002 @ 2:14am
by hockeydude
I am thinking about making a new game using eVB

, but I need to know if there is a way to compress bmp's so that they take up very little space. My game will need to use a lot of pictures, but i dont want to take up too much space. I will need to be able to access them from eVB.

Posted:
Sep 6, 2002 @ 3:02am
by James S

Posted:
Sep 6, 2002 @ 3:43am
by TechMage
Here is a eVB PictureBox control that will let you use .bmp, .2bp, .gif, .jpeg, and .XBM image files.

Posted:
Sep 6, 2002 @ 3:59am
by hockeydude
ZBM!! YAh!, Not sure how to utilize that though. I think that is only for Snails. I have tried that picture box, but i cant get it to display anything. Any Suggetions?

Posted:
Sep 6, 2002 @ 4:13am
by sponge
ZBM/XBM is a standard format. At least one of those are. All I know it has BM in it, and is more or less a gzipped bitmap.

Posted:
Sep 6, 2002 @ 10:22am
by BurningSheep
If i remember correctly .zbm is a gzipped bitmap, but peter also used some tricks to make it even smaller. In your case I would recommend to use a standard image format though.

Posted:
Sep 6, 2002 @ 2:38pm
by angedelamort

Posted:
Sep 6, 2002 @ 2:50pm
by BurningSheep
hmm, I misread his post, I thought he said he didn't need much pictures. If you use lots of pictures it's definitely worth looking into compression/compressed (lossless) image formats.

Posted:
Sep 7, 2002 @ 12:08am
by hockeydude

Posted:
Sep 7, 2002 @ 4:41am
by Dan East

Posted:
Sep 7, 2002 @ 6:12am
by angedelamort
Yeah, Dan, you have a point :) so here a dll for vb to use zlib:
But, with all the source code, it's easy to compile a dll in evc and interface it with evb after without coding a lot.

Posted:
Sep 7, 2002 @ 4:16pm
by gamefreaks
can't 8 bit (256 color) bitmaps use compression. (RLE)
for more info, read this, I found it really useful with gfDoom and reading skin data...
[/quote]

Posted:
Sep 7, 2002 @ 6:33pm
by Digby
Yeah that might be nice if CE supported RLE bitmaps. It doesn't though.

Posted:
Sep 8, 2002 @ 1:58pm
by gamefreaks