1
0
mirror of https://github.com/golang/go synced 2024-10-03 08:11:27 -06:00
go/src/image
Nigel Tao a32dd83253 image/jpeg: support 4:1:1 and 4:1:0 chroma subsampling.
The test data was generated by:
convert video-001.png tmp.tga
cjpeg -quality 50 -sample 4x2,1x1,1x1 tmp.tga > video-001.q50.410.jpeg
cjpeg -quality 50 -sample 4x1,1x1,1x1 tmp.tga > video-001.q50.411.jpeg
cjpeg -quality 50 -sample 4x2,1x1,1x1 -progressive tmp.tga > video-001.q50.410.progressive.jpeg
cjpeg -quality 50 -sample 4x1,1x1,1x1 -progressive tmp.tga > video-001.q50.411.progressive.jpeg
rm tmp.tga

Change-Id: I5570389c462360f98c3160f3c6963d9466d511de
Reviewed-on: https://go-review.googlesource.com/6041
Reviewed-by: Rob Pike <r@golang.org>
2015-02-26 02:08:45 +00:00
..
color image: add image.CMYK and color.CMYK types. 2015-02-16 00:08:49 +00:00
draw image/draw: add CMYK fast path. 2015-02-17 23:17:12 +00:00
gif image/gif: don't let the per-frame transparent index modify the global 2014-09-22 14:29:45 +10:00
jpeg image/jpeg: support 4:1:1 and 4:1:0 chroma subsampling. 2015-02-26 02:08:45 +00:00
png
testdata image/jpeg: support 4:1:1 and 4:1:0 chroma subsampling. 2015-02-26 02:08:45 +00:00
decode_example_test.go
decode_test.go image/jpeg: support decoding CMYK and YCbCrK images. 2015-02-16 00:25:47 +00:00
format.go
geom_test.go image: change Rectangle.Eq to return true for all empty rectangles, even 2015-02-18 23:50:09 +00:00
geom.go image: change Rectangle.Eq to return true for all empty rectangles, even 2015-02-18 23:50:09 +00:00
image_test.go
image.go image: add image.CMYK and color.CMYK types. 2015-02-16 00:08:49 +00:00
names.go
ycbcr_test.go image: add YCbCrSubsampleRatio411 and YCbCrSubsampleRatio410. 2015-02-26 00:14:16 +00:00
ycbcr.go image: add YCbCrSubsampleRatio411 and YCbCrSubsampleRatio410. 2015-02-26 00:14:16 +00:00