libwebp/imageio
Pascal Massimino 827a307fec BMP enc: fix the transparency case
When transparency is present, it's not enough to just write 32bpp samples.
One need to use the full BITMAPV3INFOHEADER syntax and specify the
masks for BGRA.

 see https://en.wikipedia.org/wiki/BMP_file_format#Pixel_storage

Also remove the height-flip trick and write samples bottom-to-top instead.

Change-Id: If5d92c11453b96764b5bfbf19e9678e632bc911f
(cherry picked from commit 480cd51de6)
2022-01-19 18:07:17 +00:00
..
Android.mk imageio: add limited PNM support for reading 2017-02-01 07:41:56 +00:00
image_dec.c Add limited PAM decoding support 2017-03-03 11:19:48 +01:00
image_dec.h imageio: add limited PNM support for reading 2017-02-01 07:41:56 +00:00
image_enc.c BMP enc: fix the transparency case 2022-01-19 18:07:17 +00:00
image_enc.h update http links 2021-11-23 10:13:40 -08:00
imageio_util.c TiffDec: enforce stricter mem/dimension limit on tiles 2021-01-12 10:57:27 +01:00
imageio_util.h TiffDec: enforce stricter mem/dimension limit on tiles 2021-01-12 10:57:27 +01:00
jpegdec.c libwebp: do not destroy jpeg codec twice on error 2022-01-17 18:47:10 +00:00
jpegdec.h pngdec.c,jpegdec.[hc]: remove unnecessary includes 2016-07-20 12:12:14 -07:00
Makefile.am configure,*am,cosmetics: s/WANT_/BUILD_/ 2018-06-02 10:41:49 -07:00
metadata.c move examples/{example_util,image_dec} to imageio/ 2016-07-19 19:06:29 -07:00
metadata.h move examples/{example_util,image_dec} to imageio/ 2016-07-19 19:06:29 -07:00
pngdec.c update http links 2021-11-23 10:13:40 -08:00
pngdec.h move examples/{example_util,image_dec} to imageio/ 2016-07-19 19:06:29 -07:00
pnmdec.c PNM decoding: handle max_value != 255 2020-01-06 23:48:40 +01:00
pnmdec.h imageio: add limited PNM support for reading 2017-02-01 07:41:56 +00:00
tiffdec.c Convert deprecated uint32 to uint32_t. 2021-08-30 16:06:53 +02:00
tiffdec.h move examples/{example_util,image_dec} to imageio/ 2016-07-19 19:06:29 -07:00
webpdec.c webpdec,cosmetics: match error text to function call 2021-04-17 15:13:43 -07:00
webpdec.h webpdec.h: fix a doc typo 2017-03-05 09:38:51 +00:00
wicdec.c wicdec: support alpha from WebP WIC decoder 2021-07-16 12:19:33 -07:00
wicdec.h move examples/{example_util,image_dec} to imageio/ 2016-07-19 19:06:29 -07:00