golang-image/testdata
David Heuschmann a9455cf03d image/bmp: support v4 and v5 info header versions
Decode BITMAPV4INFOHEADER and BITMAPV5INFOHEADER in addition to
BITMAPINFOHEADER and check if any of their features are used. If this is
not the case, the bmp can be decoded as if it had the BITMAPINFOHEADER.
Otherwise an ErrUnsupported is returned.

The colormap.bmp and yellow_rose-small-v5.bmp files were generated using
imagemagick using the following conversions:

convert video-001.bmp -depth 8 -palette colormap.bmp
convert yellow_rose-small.bmp -format BMP5 yellow_rose-small-v5.bmp

The corresponding png files were created using imagemagick convert
without any arguments.

Fixes golang/go#27767

Change-Id: I5c0138b231c68132d39a29c71b61faa546921511
Reviewed-on: https://go-review.googlesource.com/c/141799
Reviewed-by: Nigel Tao <nigeltao@golang.org>
Run-TryBot: Nigel Tao <nigeltao@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2018-10-23 22:58:01 +00:00
..
blue-purple-pink-large.lossless.webp vp8: skip filtering for all-zero-DC macroblock residuals. 2014-06-30 10:36:25 +10:00
blue-purple-pink-large.no-filter.lossy.webp vp8: skip filtering for all-zero-DC macroblock residuals. 2014-06-30 10:36:25 +10:00
blue-purple-pink-large.no-filter.lossy.webp.ycbcr.png vp8: skip filtering for all-zero-DC macroblock residuals. 2014-06-30 10:36:25 +10:00
blue-purple-pink-large.normal-filter.lossy.webp vp8: skip filtering for all-zero-DC macroblock residuals. 2014-06-30 10:36:25 +10:00
blue-purple-pink-large.normal-filter.lossy.webp.ycbcr.png vp8: skip filtering for all-zero-DC macroblock residuals. 2014-06-30 10:36:25 +10:00
blue-purple-pink-large.png vp8: skip filtering for all-zero-DC macroblock residuals. 2014-06-30 10:36:25 +10:00
blue-purple-pink-large.simple-filter.lossy.webp vp8: skip filtering for all-zero-DC macroblock residuals. 2014-06-30 10:36:25 +10:00
blue-purple-pink-large.simple-filter.lossy.webp.ycbcr.png vp8: skip filtering for all-zero-DC macroblock residuals. 2014-06-30 10:36:25 +10:00
blue-purple-pink.lossless.webp go.image/vp8l: new package. 2014-06-17 21:51:57 +10:00
blue-purple-pink.lossy.webp go.image/vp8: implement the normal filter. 2014-06-26 13:29:30 +10:00
blue-purple-pink.lossy.webp.ycbcr.png go.image/vp8: implement the normal filter. 2014-06-26 13:29:30 +10:00
blue-purple-pink.lzwcompressed.tiff go.image/tiff: fix (TIFF-specific) LZW decompression. 2014-06-02 14:51:51 +10:00
blue-purple-pink.png go.image/tiff: fix (TIFF-specific) LZW decompression. 2014-06-02 14:51:51 +10:00
bw-deflate.tiff go.image/{bmp,tiff}: move tiff/testdata to testdata. 2012-01-31 14:02:27 +11:00
bw-packbits.tiff go.image/{bmp,tiff}: move tiff/testdata to testdata. 2012-01-31 14:02:27 +11:00
bw-uncompressed.tiff go.image/{bmp,tiff}: move tiff/testdata to testdata. 2012-01-31 14:02:27 +11:00
colormap.bmp image/bmp: support v4 and v5 info header versions 2018-10-23 22:58:01 +00:00
colormap.png image/bmp: support v4 and v5 info header versions 2018-10-23 22:58:01 +00:00
go-turns-two-14x18.png draw: new package, a superset of the standard library's image/draw 2015-02-17 23:20:02 +00:00
go-turns-two-280x360.jpeg draw: new package, a superset of the standard library's image/draw 2015-02-17 23:20:02 +00:00
go-turns-two-down-ab.png draw: tweak the YCbCr to RGBA conversion formula again. 2017-02-10 23:08:06 +00:00
go-turns-two-down-bl.png draw: tweak the YCbCr to RGBA conversion formula again. 2017-02-10 23:08:06 +00:00
go-turns-two-down-cr.png draw: tweak the YCbCr to RGBA conversion formula again. 2017-02-10 23:08:06 +00:00
go-turns-two-down-nn.png draw: tweak the YCbCr to RGBA conversion formula again. 2017-02-10 23:08:06 +00:00
go-turns-two-rotate-ab.png draw: tweak the YCbCr to RGBA conversion formula again. 2017-02-10 23:08:06 +00:00
go-turns-two-rotate-bl.png draw: tweak the YCbCr to RGBA conversion formula again. 2017-02-10 23:08:06 +00:00
go-turns-two-rotate-cr.png draw: tweak the YCbCr to RGBA conversion formula again. 2017-02-10 23:08:06 +00:00
go-turns-two-rotate-nn.png draw: tweak the YCbCr to RGBA conversion formula again. 2017-02-10 23:08:06 +00:00
go-turns-two-up-ab.png draw: tweak the YCbCr to RGBA conversion formula again. 2017-02-10 23:08:06 +00:00
go-turns-two-up-bl.png draw: tweak the YCbCr to RGBA conversion formula again. 2017-02-10 23:08:06 +00:00
go-turns-two-up-cr.png draw: tweak the YCbCr to RGBA conversion formula again. 2017-02-10 23:08:06 +00:00
go-turns-two-up-nn.png draw: tweak the YCbCr to RGBA conversion formula again. 2017-02-10 23:08:06 +00:00
gopher-doc.1bpp.lossless.webp go.image/vp8l: new package. 2014-06-17 21:51:57 +10:00
gopher-doc.1bpp.png go.image/vp8l: new package. 2014-06-17 21:51:57 +10:00
gopher-doc.2bpp.lossless.webp go.image/vp8l: new package. 2014-06-17 21:51:57 +10:00
gopher-doc.2bpp.png go.image/vp8l: new package. 2014-06-17 21:51:57 +10:00
gopher-doc.4bpp.lossless.webp go.image/vp8l: new package. 2014-06-17 21:51:57 +10:00
gopher-doc.4bpp.png go.image/vp8l: new package. 2014-06-17 21:51:57 +10:00
gopher-doc.8bpp.lossless.webp go.image/vp8l: new package. 2014-06-17 21:51:57 +10:00
gopher-doc.8bpp.png go.image/vp8l: new package. 2014-06-17 21:51:57 +10:00
no_compress.tiff go.image/tiff: Support missing Compression tag 2014-05-12 16:41:44 +10:00
no_rps.tiff go.image/{bmp,tiff}: move tiff/testdata to testdata. 2012-01-31 14:02:27 +11:00
testpattern.png draw: add a test for src translation invariance. 2015-03-12 23:26:12 +00:00
tux-rotate-ab.png draw: tweak the YCbCr to RGBA conversion formula again. 2017-02-10 23:08:06 +00:00
tux-rotate-bl.png draw: tweak the YCbCr to RGBA conversion formula again. 2017-02-10 23:08:06 +00:00
tux-rotate-cr.png draw: tweak the YCbCr to RGBA conversion formula again. 2017-02-10 23:08:06 +00:00
tux-rotate-nn.png draw: tweak the YCbCr to RGBA conversion formula again. 2017-02-10 23:08:06 +00:00
tux.lossless.webp go.image/vp8l: new package. 2014-06-17 21:51:57 +10:00
tux.png go.image/vp8l: new package. 2014-06-17 21:51:57 +10:00
video-001-16bit.tiff go.image/tiff: encoder support Gray/Gray16/Paletted format 2013-09-13 17:42:53 +10:00
video-001-gray-16bit.tiff go.image/tiff: encoder support Gray/Gray16/Paletted format 2013-09-13 17:42:53 +10:00
video-001-gray.tiff go.image/tiff: encoder support Gray/Gray16/Paletted format 2013-09-13 17:42:53 +10:00
video-001-paletted.tiff go.image/tiff: encoder support Gray/Gray16/Paletted format 2013-09-13 17:42:53 +10:00
video-001-strip-64.tiff go.image/tiff: decoder support tiled tiff format 2013-09-06 20:07:58 +10:00
video-001-tile-64x64.tiff go.image/tiff: decoder support tiled tiff format 2013-09-06 20:07:58 +10:00
video-001-uncompressed.tiff go.image/{bmp,tiff}: move tiff/testdata to testdata. 2012-01-31 14:02:27 +11:00
video-001.bmp go.image/{bmp,tiff}: move tiff/testdata to testdata. 2012-01-31 14:02:27 +11:00
video-001.lossy.webp go.image/vp8: implement the normal filter. 2014-06-26 13:29:30 +10:00
video-001.lossy.webp.ycbcr.png go.image/vp8: implement the normal filter. 2014-06-26 13:29:30 +10:00
video-001.png go.image/{bmp,tiff}: move tiff/testdata to testdata. 2012-01-31 14:02:27 +11:00
video-001.tiff go.image/{bmp,tiff}: move tiff/testdata to testdata. 2012-01-31 14:02:27 +11:00
yellow_rose-small-v5.bmp image/bmp: support v4 and v5 info header versions 2018-10-23 22:58:01 +00:00
yellow_rose-small-v5.png image/bmp: support v4 and v5 info header versions 2018-10-23 22:58:01 +00:00
yellow_rose-small.bmp go.image/bmp: add a test image for top-down BMPs. 2014-10-01 09:41:12 +10:00
yellow_rose-small.png go.image/bmp: add a test image for top-down BMPs. 2014-10-01 09:41:12 +10:00
yellow_rose.lossless.webp go.image/vp8l: new package. 2014-06-17 21:51:57 +10:00
yellow_rose.lossy-with-alpha.webp go.image/webp: implement lossy-with-alpha. 2014-10-20 10:46:12 +11:00
yellow_rose.lossy-with-alpha.webp.nycbcra.png go.image/webp: implement lossy-with-alpha. 2014-10-20 10:46:12 +11:00
yellow_rose.lossy.webp go.image/vp8l: new package. 2014-06-17 21:51:57 +10:00
yellow_rose.lossy.webp.ycbcr.png go.image/vp8: implement the normal filter. 2014-06-26 13:29:30 +10:00
yellow_rose.png go.image/vp8l: new package. 2014-06-17 21:51:57 +10:00