Gary

> 30 days ago
‹ chat status

Profile

Name:
Gary Ambrose II
Location:
Flushing, MI
Birthday:
12/09/1966
Status:
Not Interested

Stats

Posts:
646
Post Reads:
41,198
Photos:
23
Last Online:
> 30 days ago
View All »

My Friends

26 min ago
2 hours ago
3 hours ago
6 hours ago
6 hours ago
8 hours ago
12 hours ago
21 hours ago

My Bookmarks

Handcutcoins - new

Subscribe

Life & Events > Compression Algorythms
 

  Compression Algorythms

What does an "Algorithm" mean? Basically just a fancy ass word to say "a logical way to solve a problem". The term is mostly used in computers.

Why have I mentioned it? Cause I am drinking. I pretty much got nothing better to do then write stupid chit now.

In your computer, you got these .zip files and such. Why are they important? You likely have no clue. Twenty years ago, I wrote a major "compression algorithm". It was called a .gva file. If you ever see it around now, you will know it was mine. Used quite awhile, but the .zip, .lhz, and many others took over.

The reason compression is needed, is to send (or store anything), it takes an enormous amount of bandwidth. Things need to be condensed. Thats until computer bandwith increases.

Let's take this on the "most simple form". What if you have a "pure black" screen. Say it was on an 8 bit system. Let's say 640 x 480 resolution (to be simple). 8 bits to a byte, so with the 256 character set. Every single pixel, could be represented as one byte. So to store this one simple screen, you would need 640 times 480 times 1. Just to store a simple black screen. At a resolution and color depth that is "Long outdated now". That would take "alone", for the one screen "307200" bytes of storage. Double that if you went to 16 bit. "614400" bytes, to store a simple black screen.

Things get far more complicated when you get into higher "screen depth", and higher resolution.

That same "Black screen" set at a resolution of "1152 x 864" (32 bit color). Would be 1152 times 864 times 4. That same black screen now is "3,981,312" bytes in storage. On DSL, that black screen alone may take a half hour to download. Consider a video game.. no way to download anything if not for compression.

Compression, requires you to have a "program" to un-compress on your end. That same "3,981,312" bytes of a total black screen, can be sent so simple. Take a dozen bytes to represent the colors across, and a dozen to represent them down. So now you condensed it, sent it faster then chit. And the processor on the other side "re-created" it. "3,981,312" bytes, suddenly became "24" bytes. So long as you have the program to "un-compress".

We're really not trying to send "black" screens though are we? This is why I kinda gave up working on "Compression Algorythms". It got a little too complicated for me. I still want to tell you how they work.

The "modern" compression Algorythms works pretty much this way. In the most simplistic form I can say.

Take a simple picture. It will scan across, and look for patterns of same color. If it finds say "5" in a row, it can condense it, represent as one. It will scan the entire picture. Up and down. Then (and these now are SUPER good), it will condense patterns, the same patterns it already has, to condense them. Always needs a program on your end to interpret.. but this is so "high tech" you wouldn't believe. So lets go beyond a simple picture. We got "video" on the internet, and such. So the "Algorythms" of compression are now spanning multiple screens (thousands), and making all as small as possible for you to download quick.

These new compression things go "up and down"... across and all over. The technology is "amazing". I'd love to get into it again.. but it's way beyond my scope now...

Was just bored.. thought I'd post this..

Gary :)


posted on July 1, 2009 1:19 AM ()

Comments:

bloody hell mate --dont complicate things ---i know where the start button is
comment by kevinshere on July 1, 2009 6:28 PM ()
Actually, I am very good at "computer knowledge". Only reason I write at times is for "something to do" (not for money). I will say this. If you have a computer problem, ask me. I'll be more "honest and direct" then anyone. Before you go spending big money for that next "upgrade", at least ask me first. I program "fluent" in about 10 computer languages. I am out for nothing. Friends, all I do is say what I think. Take or leave my advice. Always (however) feel free to ask. gary :)
reply by coincutter on July 1, 2009 7:19 PM ()
Dude, you are a geek at heart. I wish I were a computer geek. I know a few things but nothing compared to you knowledge. I'm just a sci-fi and comic book geek. Useless knowledge about anything and everything(not just sci-fi and fantasy.)
comment by draco on July 1, 2009 3:10 PM ()
I like comics too. I'm not so much into "sci-fi". I still have about 500 comics i bought as a kid. Kept them all these years. When i read one, it takes me back to the day I first bought it. They are all 12, 25, and 30 cent comics. Not in good condition though. If you ever need a certain comic, I set up with one of the biggest comic book dealers in Michigan. He's pretty much got everything.
reply by coincutter on July 1, 2009 3:25 PM ()
Interesting, coin. I think you were into that at the time because you wanted to "know" it, and once you did, well, that was enough - you didn't need to know more.

There are things that I know inside and out for whatever reason, then there are things that I just need to get enough of it to get the gist of it. I get it, don't need to know more. Kind of like the difference between putting together a 1000 piece puzzle and a 15,000 piece puzzle. The process is identical, just takes more freaking time, effort, and concentration. Once I get what it takes to put together the 1000 piece, I'm not interested in the 15,000 job cuz I know what it takes and I simply don't care to do it.
comment by whereabouts on July 1, 2009 5:27 AM ()
That's a good way of putting things, and I'd say your right
reply by coincutter on July 1, 2009 3:26 PM ()

Comment on this article   


646 articles found   [ Previous Article ]  [ Next Article ]  [ First ]  [ Last ]