I was wondering if you could integrate RLE within an image that requires more complex compression techniques. That is, can there be more than one method of compression within a single file? Or is this illogical?
Also, I am still trying to get my head around binary. I though I understood it, but then there was that Foxtrot comic and I got confused. I made a little chart, and am wondering if it's correct?
So, if there are four bits, there are a potential for 16 values. I tried to make a chart and would like to know if I got it right. I know it isn't necessarily relevant to what we were learning in terms of compression, but I didn't understand the explanation very well; now I want to know if I understand the concept. So, here's a chart of 4 bits (four powers of two, right?) and their decimal equivalents. I apologize that the underlining is a little weird:
23 22 21 20 Decimal Equivalent
0 0 0 0 ………………. 0
0 0 0 1 ……………..…1
0 0 1 0 ………………..2
0 0 1 1 ……………..…3
0 1 0 0 ………………...4
0 1 0 1 ………………...5
0 1 1 0 ………………...6
0 1 1 1 ………………...7
1 0 0 0 ………………...8
1 0 0 1 ………………...9
1 0 1 0 ………………...10
1 0 1 1 ………………...11
1 1 0 0 ………………...12
1 1 0 1 ………………...13
1 1 1 0 ………………...14
1 1 1 1 ………………...15
Thanks!
-Mary
No comments:
Post a Comment