add -near_lossless [0..100] experimental option

This compresses the uimage using lossless compression and controlable
decimating pre-process.
Code is under WEBP_EXPERIMENTAL_FEATURE while it's being experimented with.

Change-Id: I8b7f4cfcc3c6afc52a556102842bdbb045ed5ee8
This commit is contained in:
skal
2014-08-05 19:14:57 +02:00
parent 0524d9e5e8
commit b5a36cc9ad
11 changed files with 171 additions and 1 deletions

View File

@ -218,6 +218,12 @@ Using this option will discard the alpha channel.
.B \-lossless
Encode the image without any loss.
.TP
.\" .B \-near_lossless " int
.\" Use near-lossless image preprocessing. This option adjusts pixel values
.\" to help compressibility, but has minimal impact on the visual quality.
.\" It triggers lossless compression mode automatically.
.\" Range is 0 (no preprocessing, the default) to 100.
.\" .TP
.BI \-hint " string
Specify the hint about input image type. Possible values are:
\fBphoto\fP, \fBpicture\fP or \fBgraph\fP.