add a -yuv option to dwebp (very similar to -pgm)

It will decode to raw (flat) YUV format, similar to what
cwebp can take as input. Makes the PSNR/SSIM calculation easier.

Change-Id: Iebfaedfc0bedc70c169b24ae4aabc701488d0644
This commit is contained in:
skal
2013-01-28 23:22:14 +01:00
parent 841a3ba5da
commit 66c810bc3c
3 changed files with 49 additions and 17 deletions

2
README
View File

@@ -240,6 +240,8 @@ Use following options to convert into alternate image formats:
-ppm ......... save the raw RGB samples as a color PPM
-pgm ......... save the raw YUV samples as a grayscale PGM
file with IMC4 layout.
-yuv ......... save the raw YUV samples in flat layout.
Other options are:
-version .... print version number and exit.
-nofancy ..... don't use the fancy YUV420 upscaler.