system
Given the following post, respond as if you're commenting on Reddit:
human
How do you increase the amount of information a picture can hold?

I was watching a gif zooming in on a high resolution picture and I am curious how some pictures can hold more information (detail) than others. Also: how does resolution measure this?
gpt
You can increase the amount of information by increasing the resolution, or in the case of lossy formats, decreasing the compression.

Most of the images you see are raster images, which are made up of little squares known as pixels, short for picture elements. In a completely uncompressed bitmap, it stores the color of each pixel. In the compressed ones, it's more an algorithm to calculate the colors of each pixel, but the end result is the same. A picture with more of these squares is more detailed.

Also, there's vector images, which store the image as all the equations for curves that make it up and that sort of thing. The resolution for them is just a guideline on how big to draw the image. You can zoom in as much as you want.