A position and a value

A raster image assigns values to positions in rows and columns. A grayscale pixel can describe an intensity; a color pixel commonly has several channel values. The grid records an image representation, rather than a list of the objects that appear in it. A pixel does not inherently know that it belongs to a leaf, a shadow or a letter.

Hypothetical example: a tiny leaf

Imagine drawing a leaf in a grid only twelve cells wide. A curved edge must be represented by a small number of cells. Give the drawing more cells and you can describe a finer boundary. Simply making the original cells larger, however, changes the viewing size without supplying a more detailed observation of the leaf.

Read the representation

Pixel dimensions describe the number of grid positions across and down. They do not, by themselves, establish how accurately the picture represents a scene. Focus, processing and the source material also matter. A large grid can contain a blurred image, and a small grid can be entirely adequate for a simple symbol.

Compare the grid size with the information it carries, rather than judging detail by file size alone.

Further reading: Adobe: raster and vector representations.