You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For now, this just allows either the default (4:2:0) or disabling subsampling
(4:4:4). Future values could allow more control over the method. This should
address #12.
**Note**: The SmallFry algorithm may be [patented](http://www.jpegmini.com/main/technology) so use with caution.
80
80
81
+
#### Subsampling
82
+
The JPEG format allows for subsampling of the color channels to save space. For each 2x2 block of pixels per color channel (four pixels total) it can store four pixels (all of them), two pixels or a single pixel. By default, the JPEG encoder subsamples the non-luma channels to two pixels (often referred to as 4:2:0 subsampling). Most digital cameras do the same because of limitations in the human eye. This may lead to unintended behavior for specific use cases (see #12 for an example), so you can use `--subsample disable` to disable this subsampling.
0 commit comments