Thursday, September 15, 2011
how do we store images?
what are the repercussions in terms of file size?
pixel - picture element
300 x 200 dimensions
60000
using 256 colors, each byte = 1 pixel
60000 bytes
using 16 colors, each nibble = 1 pixel
30000 bytes
using 2 colors, each bit = 1 pixel
60000/4 bytes bytes
24 bit bitmap (true color)
each pixel = 3 bytes
RGB
60000 x 3 bytes
covered bitmaps
raster graphics and vector graphics
http://en.wikipedia.org/wiki/Raster_graphics
http://en.wikipedia.org/wiki/Vector_graphics
http://en.wikipedia.org/wiki/Scalable_Vector_Graphics
http://www.w3schools.com/
http://www.w3schools.com/svg/default.asp
vector graphics will be sharper when zoom in
will take less space
counting in binary
bitmap
Subscribe to:
Post Comments (Atom)
Daniel Bodner
ReplyDeleteKelly Gutierrez
ReplyDelete