This document is a revision of the PNG 1.0 specification and describes the PNG file format. PNG is a patent-free, lossless image compression format that can replace GIF and is supported by ISO standards bodies. It supports indexed-color, grayscale, and truecolor images with optional alpha channels at sample depths from 1 to 16 bits. PNG works well for online viewing and supports progressive display and error detection. The specification defines PNG as the "image/png" Internet media type.