Question:
how are pictures converted to bits?
General P
2006-10-26 12:57:36 UTC
converting letters to bits makes sense - a lookup table can be used to convert a letter to a number to binary. but how are pictures converted? hmm...using the RGB color scheme? like, each pixel is a bit and each bit is represented by a three digit number like (255, 84, 180)?

HELP I'M CURIOUS!
Five answers:
spanishfleee
2006-10-26 13:18:13 UTC
well basically every picture is made up of tiny blocks of colour, each of these is a pixel. each pixel is given a number depending on, as you mentioned, its RGB value. so one pixel may have a 8 digit (8 bit) string of numbers such as 255 000 000 this would represent red. basically 8 bits make a byte. a 5 mega pixel photo would have 5 million pixels, different storage methods can be applied to these. JPG being the most common breaks the photo into 'chunks' and others formats used an index table that include a certain amount of colours which is good for keeping file sizes small on black and whit photos as it only need to store 2 colours in the index. a computer reads all of the binary numbers in the image to create the image on the display. if these numbers become mixed up this corrupts the image.
TravisO
2006-10-26 13:09:43 UTC
Let's figure this out... ok it order to store values upto 255 you need 8 bits which is 1 byte. There are 3 colors to make up a color in the RGB scheme so that 3bytes per pixel.



A 1024x768 picture would be:

786432 pixels * 3bytes = 2,359,296mb



Now if that image format supports alpha transparentcy, you need an additional byte to store the 0-255 range of transparency, bringing you upto 3.14mb.



Of course keep in mind that formats like GIF/JPG/PNG use lossy compression to throw away detail and create a type of tile library which is why a 100k JPG can fill your screen.
jack
2006-10-26 13:04:46 UTC
For example BITmap Mean whats it says it maps the bits. If you really want to learn about it I would do a search for the file format you are intrested Its neat to know how this stuff works. Some times they come with a compressions like the jpeg format. You can even see how GIF format is able to move.



BTW the taste thing I thought was arlready out in japan.



Edit* Forgot to say that you might want to include the word Stadard or Acrhiture . LIke if you was wanting to learn about Bitmaps you would do Bitmap format standard
?
2016-10-16 14:46:12 UTC
quite elementary. Open the .bmp in the traditional abode windows image and Fax viewer. on the backside you have gotten a disk icon that's for a shop. once you click this alteration the shop as style from BMP to jpeg.
2006-10-26 12:59:41 UTC
Everything can be converted to bits, they are working on smell right now.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...