This site is no longer active and is available for archival purposes only. Registration and login is disabled.

bmp Compression


bmp Compression

Postby hockeydude » Sep 6, 2002 @ 2:14am

I am thinking about making a new game using eVB :D , 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.
User avatar
hockeydude
pm Insider
 
Posts: 1101
Joined: Jul 21, 2002 @ 9:39pm


Postby James S » Sep 6, 2002 @ 3:02am

<img src="http://home.comcast.net/~sonne/james/tag.gif">
James S
pm Insider
 
Posts: 17064
Joined: Jan 12, 2002 @ 2:33pm
Location: Lexington, KY


Postby TechMage » Sep 6, 2002 @ 3:43am

Here is a eVB PictureBox control that will let you use .bmp, .2bp, .gif, .jpeg, and .XBM image files.
User avatar
TechMage
pm Insider
 
Posts: 2223
Joined: Sep 16, 2001 @ 5:40pm
Location: In Your Head


Postby hockeydude » Sep 6, 2002 @ 3:59am

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?
User avatar
hockeydude
pm Insider
 
Posts: 1101
Joined: Jul 21, 2002 @ 9:39pm


Postby sponge » Sep 6, 2002 @ 4:13am

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.
holy internets batman.
User avatar
sponge
Not sponge
 
Posts: 12779
Joined: Jan 13, 2002 @ 8:04am
Location: New Hampshire


Postby BurningSheep » Sep 6, 2002 @ 10:22am

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.
Do you want custom Snails levels? Click
User avatar
BurningSheep
pm Insider
 
Posts: 1226
Joined: Apr 12, 2002 @ 11:49pm
Location: The Netherlands


Postby angedelamort » Sep 6, 2002 @ 2:38pm

User avatar
angedelamort
pm Member
 
Posts: 304
Joined: Mar 7, 2002 @ 11:16pm
Location: Montreal, Quebec


Postby BurningSheep » Sep 6, 2002 @ 2:50pm

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.
Do you want custom Snails levels? Click
User avatar
BurningSheep
pm Insider
 
Posts: 1226
Joined: Apr 12, 2002 @ 11:49pm
Location: The Netherlands


Postby hockeydude » Sep 7, 2002 @ 12:08am

User avatar
hockeydude
pm Insider
 
Posts: 1101
Joined: Jul 21, 2002 @ 9:39pm


Postby Dan East » Sep 7, 2002 @ 4:41am

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby angedelamort » Sep 7, 2002 @ 6:12am

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.
User avatar
angedelamort
pm Member
 
Posts: 304
Joined: Mar 7, 2002 @ 11:16pm
Location: Montreal, Quebec


Postby gamefreaks » Sep 7, 2002 @ 4:16pm

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]
What if everything is an illusion and nothing exists? In that case, I definitely overpaid for my carpet. -Woody Allen
User avatar
gamefreaks
pm Insider
 
Posts: 466
Joined: Oct 20, 2001 @ 8:52pm
Location: Leicester, England


Postby Digby » Sep 7, 2002 @ 6:33pm

Yeah that might be nice if CE supported RLE bitmaps. It doesn't though.
Digby
pm Insider
 
Posts: 1011
Joined: Apr 29, 2001 @ 1:53pm


Postby gamefreaks » Sep 8, 2002 @ 1:58pm

What if everything is an illusion and nothing exists? In that case, I definitely overpaid for my carpet. -Woody Allen
User avatar
gamefreaks
pm Insider
 
Posts: 466
Joined: Oct 20, 2001 @ 8:52pm
Location: Leicester, England


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron