Commit b066496f authored by Yong Tang's avatar Yong Tang Committed by Martin Wicke
Browse files

Add support for grayscale bmp image (#14296)



* Add support for grayscale bmp image

This fix tries to address the issue raised in 13942 to support grayscale
bmp image. Previously only channels of 3 or 4 are supported in bmp decoding.
This fix adds the support to have 1 channel grayscale image.

This fix fixes 13942.

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>

* Add test case for grayscale bmp image decoding

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
parent 2ae9c6c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment