Previously in the PDf Optimization In-depth Series.
- 1. Introduction to the Optimization of Existing PDF files: Methods
- 2. Lossless Methods: Optimization of Document Content
- 3. Lossless Methods: Compression of Streams and Fonts
- 4. Methods with Losses: JPEG 2000 and JBIG2
Resizing images can provide significant gains in occupancy.
For example, decreasing unnecessary high resolutions can dramatically reduce the file size without affecting the viewing experience. But sometimes it is also a pretty destructive approach.
There exist many sophisticated resizing algorithms, but it is rare to obtain a result that does not significantly degrade the perception of the image.
An interesting alternative may be to resize only the chrominance channel.
In the sub-sampling method of chrominance, certain color spaces make a separation between brightness and color information.
Human vision is less sensitive to color than to brightness. This permits to reduce, or undersample, chrominance information without degrading the perceived quality of the image.
The resampling process recreates an image from scratch. The destination image with the given dimensions is created, and the values for each pixel are computed based on the source image. Chroma subsampling method favors less resolution for chroma information than for luma information in the resulting image.
The JPEG and JPEG2000 compression schemes