What is difference between Encoding and Compression ?

2,531 views
Skip to first unread message

smital desai

unread,
Jan 7, 2011, 12:40:24 PM1/7/11
to fundamental...@googlegroups.com
Hello Group ,

           Please explain what is difference between " Encoding and  Compression " ?

As in given a choice ...When i would go for encoding and when i will choose compression ?

Thanks,
Smital Desai

Tanmay Upadhyay

unread,
Jan 8, 2011, 11:56:28 PM1/8/11
to fundamental...@googlegroups.com
Encoding is representing a piece of information in other form. Say for example, one can represent 10 as 0xA. This is hexadecimal encoding.

Compression is done solely to lessen the number of symbols to represent given piece of information. It is achieved with the help of specific encoding of information.

Encoding is used at various places but audio/video encoding is more known encoding to us. This leads to this confusion. As different types of encoding gives different types of compression, it combines encoding & compression. But encoding doesn't always compress the data. Those examples are in communication theory. NRZ & NRZI are example of encoding which doesn't compress data. http://en.wikipedia.org/wiki/Non-return-to-zero

Hope this helps.

-- Tanmay

smital desai

unread,
Jan 9, 2011, 12:52:04 AM1/9/11
to fundamental...@googlegroups.com
yeh , Thanks Tanmay :)  ..that was exactly my confusion .
Reply all
Reply to author
Forward
0 new messages