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: Eli Zaretskii
Subject: bug#25661: 25.1; XBM raw :data images are not displayed
Date: Sat, 11 Feb 2017 11:57:11 +0200

> From: ynyaaa@gmail.com
> Date: Thu, 09 Feb 2017 17:26:53 +0900
> 
> 
> 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))

Thanks, fixed.





reply via email to

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