I've been thinking about this for a while (10 minutes).
Compressing a file has a limit, so say if i use the best compression method on winrar on a file i'll maybe get it down to 50% of the size right.
Here's how I've been visioning a new type of compression:
Say you have a file made up of all its little bits of data. A new compression language could be written that basically accounts for most strings of code that make up files. So for example in a jpeg image you can write a small code that basically says the colour of the pixel and its location. Then just write a language that can express all of that data in maybe 3 characters (colour, X, Y).
If the compression tool takes all of the pixels and turns it into these 3 character strings and saves it into another file; once you reopen the file it can "decompress" the code and rebuild the file with all of the colour and position info.
Its very hard to explain, but i'm sure it will click in someone's mind and they can help me explain it.
Think of short hand writing, in computer form. A squiggle with a dot here means a "hello how are you". Same principle, really.
Thoughts?
(no drugs taken or used in construction of ideas)
And by the way - if this is actually how compression works then slap me, if not and it in theory works - Idea property of Jack McIntyre 29/09/2008.
Compressing a file has a limit, so say if i use the best compression method on winrar on a file i'll maybe get it down to 50% of the size right.
Here's how I've been visioning a new type of compression:
Say you have a file made up of all its little bits of data. A new compression language could be written that basically accounts for most strings of code that make up files. So for example in a jpeg image you can write a small code that basically says the colour of the pixel and its location. Then just write a language that can express all of that data in maybe 3 characters (colour, X, Y).
If the compression tool takes all of the pixels and turns it into these 3 character strings and saves it into another file; once you reopen the file it can "decompress" the code and rebuild the file with all of the colour and position info.
Its very hard to explain, but i'm sure it will click in someone's mind and they can help me explain it.
Think of short hand writing, in computer form. A squiggle with a dot here means a "hello how are you". Same principle, really.
Thoughts?
(no drugs taken or used in construction of ideas)
And by the way - if this is actually how compression works then slap me, if not and it in theory works - Idea property of Jack McIntyre 29/09/2008.