1. Arithmetic coding is the only entropy coder which achieves the entropy, that's why it's widely used, it's only back draw is speed, though.
isnt the entropy the maximum compression data can be compressed to? if so.. why do 5 algos when u can do 1

also, do you know where i can find any examples of arithmetic coding.. i went to the site you gave me, the explanation is good... but i need a working implementation to test it out and see if its what i should impelement.. in the mean time, ill try and implement it using the explanation

2. isnt the entropy the maximum compression data can be compressed to?
No, to quote http://www.debugmode.com/imagecmp/entrcode.htm,
By entropy, we mean the amount of information present in the data, and an entropy coder encodes the given set of symbols with the minimum number of bits required to represent them.
There are certainly other ways to compress then entropy coding.

also, do you know where i can find any examples of arithmetic coding
http://www.data-compression.info/Algorithms/AC/
At the bottom there are some implemntations. You might have to use a range coder because it's faster, and losses little compression. That would be up to what meets your needs for your program.

3. i found this example for arithmetic coding

http://pesona.mmu.edu.my/~msng/Arithmetic_Coding.html

i downloaded the source, compiled it, it compresses over 50% which is quite amazing, however it keeps crashing.. not sure why, but it seems perfect for what i was looking for

and i also found an example of a range coder, works perfectly aswell, loses just a little bit of compression compared to the above algo.. loses about 15 bytes or so..

4. anyway, i managed to fix what was wrong, i compressed the original file ~10kb to 5% of its size.. under 470 bytes.. which is what i was aiming for , if anyone wants to know how, i only used the range encoder that madcow provided the link to, ill try looking for a burrow wheel algo and see if i can get the method madcow described to work, but im quite happy with my results

thanks to everyone who helped

edit: lol burrow wheel.. i meant Burrows Wheeler Transform

5. I figured you meant Burrows Wheeler Transform. There are certain legal issues to be aware of using that particular technique. Also, as you probably well know by now, the amount you compress has more to do with what you are compressing more than what algorithm you are compressing with. Under certain conditions an RLE compressor may seem like the best thing ever invented.

6. There are certain legal issues to be aware of using that particular technique
Are you sure?
From what I've read the two patented algorithms you have to be careful with are LZW and ARI. My understanding was that BWT is in the public domain, and so is the range coder.