diff options
author | Eli Zaretskii <eliz@gnu.org> | 2022-03-26 11:31:46 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-03-26 11:31:46 +0300 |
commit | a6abb6f5cdd5a44bce2e42c340a6c6b83579de93 (patch) | |
tree | 0411015118b08c5610664dc611f4b36d0a380aa6 /src/image.c | |
parent | de953a6fe39d8e547ce4d40f39cd2c10b71a1e3c (diff) | |
download | emacs-a6abb6f5cdd5a44bce2e42c340a6c6b83579de93.tar.gz emacs-a6abb6f5cdd5a44bce2e42c340a6c6b83579de93.tar.bz2 emacs-a6abb6f5cdd5a44bce2e42c340a6c6b83579de93.zip |
Support display of BMP images on MS-Windows
* src/w32image.c (w32_can_use_native_image_api): Support BMP
images.
* src/image.c (syms_of_image) <Qbmp>: New symbol.
[HAVE_NTGUI]: Add 'bmp' to list of supported image types.
* doc/lispref/display.texi (Image Formats): Document built-in
support for BMP images.
* etc/NEWS: Announce the change.
Diffstat (limited to 'src/image.c')
-rw-r--r-- | src/image.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/image.c b/src/image.c index c412dc90296..d44d6890846 100644 --- a/src/image.c +++ b/src/image.c @@ -11558,6 +11558,8 @@ non-numeric, there is no explicit limit on the size of images. */); # ifdef HAVE_NTGUI DEFSYM (Qgdiplus, "gdiplus"); DEFSYM (Qshlwapi, "shlwapi"); + DEFSYM (Qbmp, "bmp"); + add_image_type (Qbmp); # endif #endif |