Digital zoom is a method of decreasing the precise angle of view of a digital photograph or video image. It is accomplished by cropping an image down to an area with the same aspect ratio as the original, and scaling the image up to the dimensions of the original. The camera's optics are not adjusted. It is accomplished electronically, so no optical resolution is gained. Digital zooming may be enhanced by computationally expensive algorithms which sometimes involves artificial intelligence.
In cameras that perform lossy compression, digital zoom is preferred to enlargement in post-processing, as the zooming may be applied before detail is lost to compression. In cameras that save in a lossless format, resizing in post-production yields results equal or superior to digital zoom.