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. Lower-end camera phones use only digital zoom and do not have optical zoom, while many higher-end phones have additional rear cameras, including fixed telephoto lenses that allow for the simulation of optical zoom. Full-sized cameras generally have an optical zoom lens, but some apply digital zoom automatically once the longest optical focal length possible has been reached. Professional cameras generally do not feature digital zoom. Not-deteriorated zoom limit An optical zoom camera can be zoomed to its optical limit, and further zooming is sometimes allowed by digital zoom. Digital zoom uses the centre area of the optical image to enlarge the image. By reducing the image size, digital zoom occurs without image deterioration of the output image, and some cameras have a "not-deteriorated image" mode or an image deterioration indicator. The table below shows the not-deteriorated zoom limit for some megapixel (MP) image sizes of a particular camera with optical zoom 24x, and digital zoom 4x for its maximum capability: Some camera firmwares store lossily digitally zoomed images with accordingly reduced dimensions (width and height) rather than upscaling it to the original raster resolution. The benefits are reduced file sizes and the ability to calculate the zoom level from the image's dimensions, if not included in its meta data. Cameras may have an intelligent zoom feature that allows an additional magnification of 2.0× on top of its optical zoom. Many cameras have 2 options: 1.4× and 2.0×. The intelligent zoom only uses the centre of the image sensor and does not interpolate the original resolution, so the resulting image quality is good in reduced resolution. Hybrid zoom is a concept used in smartphones that takes advantage