Click here to Skip to main content
15,925,206 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCompression : Some new Idea. Pin
jk chan22-Apr-04 2:41
jk chan22-Apr-04 2:41 
GeneralRe: Compression : Some new Idea. Pin
jmkhael22-Apr-04 2:56
jmkhael22-Apr-04 2:56 
GeneralRe: Compression : Some new Idea. Pin
Cedric Moonen22-Apr-04 2:59
Cedric Moonen22-Apr-04 2:59 
GeneralRe: Compression : Some new Idea. Pin
YoSilver22-Apr-04 3:15
YoSilver22-Apr-04 3:15 
GeneralRe: Compression : Some new Idea. Pin
John M. Drescher22-Apr-04 3:21
John M. Drescher22-Apr-04 3:21 
GeneralRe: Compression : Some new Idea. Pin
peterchen22-Apr-04 4:14
peterchen22-Apr-04 4:14 
GeneralRe: Compression : Some new Idea. Pin
John M. Drescher22-Apr-04 3:15
John M. Drescher22-Apr-04 3:15 
GeneralRe: Compression : Some new Idea. Pin
jk chan22-Apr-04 3:16
jk chan22-Apr-04 3:16 
I Will answwe to ur question

First u can use 6 bits for storing the difference.one thing understand that i now think on it. this some raw idea.
come to the idea
Out of 6 bits 3 bit u can use for the range.. that is using 3 bits u can represent from 1-7. when i find the difference is 72 i the bits is something like this 111010 . first 3 bits is 10 ^ that number. then it is added with 2 that is 010. then we get 111010.

Similarly for 65 bits like 110101 ..
now we can save 2 bits.. Big Grin | :-D . For big file it may compress.
Also we can do this repeatidly ..
Then the final result will be small file(I hopes.. I should do this): )

bye
KD


krishnadk
GeneralRe: Compression : Some new Idea. Pin
jk chan22-Apr-04 3:16
jk chan22-Apr-04 3:16 
GeneralRe: Compression : Some new Idea. Pin
Robert A. T. Káldy22-Apr-04 4:20
Robert A. T. Káldy22-Apr-04 4:20 
GeneralRe: Compression : Some new Idea. Pin
John M. Drescher27-Apr-04 6:49
John M. Drescher27-Apr-04 6:49 
GeneralRe: Compression : Some new Idea. Pin
David Crow22-Apr-04 4:37
David Crow22-Apr-04 4:37 
GeneralRe: Compression : Some new Idea. Pin
Antony M Kancidrowski22-Apr-04 3:16
Antony M Kancidrowski22-Apr-04 3:16 
GeneralRe: Compression : Some new Idea. Pin
jk chan22-Apr-04 3:26
jk chan22-Apr-04 3:26 
GeneralRe: Compression : Some new Idea. Pin
David Crow22-Apr-04 4:09
David Crow22-Apr-04 4:09 
GeneralRe: Compression : Some new Idea. Pin
jk chan22-Apr-04 17:08
jk chan22-Apr-04 17:08 
GeneralRe: Compression : Some new Idea. Pin
David Crow23-Apr-04 2:11
David Crow23-Apr-04 2:11 
GeneralRe: Compression : Some new Idea. Pin
Prakash Nadar22-Apr-04 5:13
Prakash Nadar22-Apr-04 5:13 
GeneralRe: Compression : Some new Idea. Pin
jmkhael22-Apr-04 5:37
jmkhael22-Apr-04 5:37 
GeneralRe: Compression : Some new Idea. Pin
Prakash Nadar22-Apr-04 5:45
Prakash Nadar22-Apr-04 5:45 
GeneralRe: Compression : Some new Idea. Pin
jmkhael22-Apr-04 5:49
jmkhael22-Apr-04 5:49 
GeneralRe: Compression : Some new Idea. Pin
jk chan22-Apr-04 17:11
jk chan22-Apr-04 17:11 
GeneralRe: Compression : Some new Idea. Pin
Prakash Nadar22-Apr-04 18:48
Prakash Nadar22-Apr-04 18:48 
GeneralObject serialization Pin
Peter Krankl22-Apr-04 2:39
sussPeter Krankl22-Apr-04 2:39 
GeneralRe: Object serialization Pin
hasansheik22-Apr-04 3:16
hasansheik22-Apr-04 3:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.