An image is a grid of numbers, and that is the whole story as far as a model is concerned.
Each pixel holds a brightness value, usually from 0 for black to 255 for white.
A greyscale image needs one such number per pixel.
A colour image needs three, for how much red, green and blue that pixel contains.
So a 224 by 224 colour image is 224 times 224 times 3, which is just over 150,000 numbers.
Those three layers are called channels, and the shape is written as height, width, channels.
Frameworks sometimes put channels first instead, which is a common source of shape errors.
Values are almost always scaled into 0 to 1 or centred around zero before training.
Networks train badly on inputs that run to 255, since the gradients come out uneven.
Models are usually normalised with the mean and spread of the dataset they were pretrained on.
Resolution is a direct cost, since doubling each side quadruples the pixels and the compute.
Most classification networks resize everything to a fixed size such as 224 by 224.
That resize can destroy the very detail you needed, which matters in medical and satellite imagery.
Formats like JPEG lose information when saved, and repeated saving compounds the damage.
A model is only ever seeing this grid of numbers, never a picture.