Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to know that how the storage of an image is determined (the size of an image is determined). i have read some articles but some say that 1 pixel = 1 byte (which according to me should be wrong) and some says it takes 32 bits for high depth image colors. Can somebody explain me how the storage of an image on a machine works?
Posted

1 solution

For me, it won't be wrong, think of an 8-bit image etc, it depends on the quality of the image that is being saved. Images that are of high quality might require more space and meaningly, more data for each of the pixel notation on the screen, that is why most images in low quality would take 200kb, and in high-quality might take upto 4mb of space.

Different format of images require different space size etc, and covering them all here won't be enough. Understanding the Digital Image[^] is the core concept to understand what is an image in computers. Then once this is done, there comes other articles and blogs to explain the concept to store the images in binary format.

http://www.ehow.com/about_6625295_graphics-images-stored-computer_.html[^]
https://en.wikipedia.org/wiki/Binary_image[^]
http://pippin.gimp.org/image_processing/chap_dir.html[^]

Go through these posts, to learn on this topic. I believe, that this can be as semantic as it can be, more the quality of the image, more the size to represent each of the pixel on screen.
 
Share this answer
 
Comments
agent_kruger 25-Dec-14 6:12am    
i want to ask that there are 4 parts of i pixel ARGB each stores value from the range of 0-255. So does this makes 1 pixel 4 bit or not.
Afzaal Ahmad Zeeshan 25-Dec-14 8:14am    
Maybe, or maybe more or less. But as I have said, it totally depends on the quality setting and the file type you're using such as jpg, png etc.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900