Digital images are represented as multidimensional arrays of numbers, with each number representing the intensity or color value of a pixel. An image is converted to a digital form through sampling and quantization. Sampling involves digitizing the spatial coordinates, while quantization involves digitizing the pixel intensity values. The spatial and intensity resolution of a digital image determine the amount of detail that can be represented. Higher resolution means more pixels and more intensity levels, allowing finer detail to be captured.