bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25661: 25.1; XBM raw :data images are not displayed


From: npostavs
Subject: bug#25661: 25.1; XBM raw :data images are not displayed
Date: Thu, 09 Feb 2017 18:18:49 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

retitle 25661 25.1; [w32] XBM raw :data images are not displayed
tags 25661 confirmed
quit

ynyaaa@gmail.com writes:

> Emacs displays noisy black rectangles for XBM raw :data images.
>
> ;; wrong image is shown
> (insert-image (create-image "\xff\x81\x81\x81\x81\x81\x81\xff"
>                             'xbm t :width 8 :height 8))
>
> ;; correct image(8x8 pixel framed square) is shown
> (insert-image (create-image "\
> #define tmp_width 8
> #define tmp_height 8
> static char tmp_bits[] = {0xff,0x81,0x81,0x81,0x81,0x81,0x81,0xff};"
>                             'xbm t))
>
>
>
>
> In GNU Emacs 25.1.1 (i686-w64-mingw32)
>  of 2016-09-18 built on LAPHROAIG
> Windowing system distributor 'Microsoft Corp.', version 6.0.6002
> Configured using:
>  'configure --host=i686-w64-mingw32 --without-dbus
>  --without-compress-install CFLAGS=-static'
>

I can reproduce this on Windows, but not on GNU/Linux.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]