Page MenuHomePhabricator
Feed Advanced Search

Mar 22 2020

HybridDog added a comment to T68337: Scaling of images should take place in a linear colour space.

Some image formats allow decoding in a lower resolution, for example PNG with enabled interlacing adam 7. JPEG files can probably decoded in a lower resolution by simply ignoring the DCT coefficients of the higher frequencies (simple example: use only DC values).
I assume that in the PNG case the lower-resolution result corresponds to a subsampled image, and in the JPEG case it corresponds to a linearly-downscaled image without gamma-correction.

Mar 22 2020, 3:24 PM · Thumbor, Commons, MediaWiki-File-management