How can i compress and encript bmp files?

hello all…
i need to hide the bmp file… and, if is posible compress them and descompress when i am going to use the…
are there any option to encript them in order to hide them?
thanks a lot…
Fede!

i need to hide the bmp file... and, if is posible compress them and descompress when i am going to use the...

Yes, you can use RLE compression, but don’t bother.

You can use a Pak file or similar which does not compress, but packs them
together into one file. Or you can use PhysicsFS or similar which
actually puts these things into zip files. PhysicsFS behaves a little
more like you would expect it to if you play Quake than the alternatives
(which primarily consist of ZZipLib…)

The advantage of PhysicsFS over some form of Pak file like used in Quake1
is that you can put it together with winzip or so. Quake3 uses zip files
named .pk3, which works well enough. And deflate, the compression you
will be using, is basically one of the better all-around compression
formats.

are there any option to encript them in order to hide them?

There are options, but you should not use them.

Think about this a second. Name the popular games you know. They all
have one thing in common - mods. Whether the games were intended to be
modified or not, they have been. Most of the mods suck, but there are a
few gems out there, and the mods often outlive the popularity of the games
in question.

How many people do you know who still play Quake regularly? Plain
deathmatch or cooperative I mean. Not many. How many Team Fortress
players are there? CustomTF? Clan Arena? Other mods? Yeah, a lot more,
to be sure. The real gem mods make even the several year old games still
quite popular.

Realize that Quake3 locks its cinematics until you actually get to the
place in the game where you are allowed to see them. It’s possible to
work around this if you do some digging, but the point is that most people
don’t bother to try - they just play through it and unlock the cinematics
as they go.On Mon, May 13, 2002 at 11:57:46PM -0300, Federico Berardi wrote:


Joseph Carter You expected a coherent reply?

To: debian-devel at lists.debian.org
X-Mailer: AOL 6.0 for Windows US sub 10564

I am having problem with keys (back & forward )it dos’t work will you tell
me why.

                  THANKS

-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 273 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20020513/f8c46d5c/attachment.pgp

hello all…
i need to hide the bmp file… and, if is posible compress them and
descompress when i am going to use the…

 are there any option to encript them in order to hide them?
 thanks a lot...
     Fede!

If it is a draw, use RLE encoding or (even better) GIF. If it’s a photo, use JPG.

You’ll get better compression with deflate on the BMP than with GIF most
likely, and GIF has that whole Unisys patent nonsense which is best
avoided if possible.

JPEG is cool, but the lib is NOT small. If using BMP only, you need not
bring in SDL_Image or any weird format. Generally I use Targa and PCX for
these things though, size reasons.On Tue, May 14, 2002 at 08:07:20PM +0200, CRV?ADER/KY wrote:

 i need to hide the bmp file... and, if is posible compress them and

descompress when i am going to use the…

 are there any option to encript them in order to hide them?
 thanks a lot...
     Fede!

If it is a draw, use RLE encoding or (even better) GIF. If it’s a photo, use JPG.


Joseph Carter Crazy in the coconut

JHM: I’m not putting quake in the kernel source
but we should put quake in the boot floppies to one-up
Caldera’s tetris game… ;>

-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 273 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20020514/f44129fc/attachment.pgp