GNU bug report logs - #25661
25.1; [w32] XBM raw :data images are not displayed

Previous Next

Package: emacs;

Reported by: ynyaaa <at> gmail.com

Date: Thu, 9 Feb 2017 08:28:01 UTC

Severity: minor

Tags: confirmed

Found in version 25.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 25661-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: ynyaaa <at> gmail.com
Cc: 25661-done <at> debbugs.gnu.org
Subject: Re: bug#25661: 25.1; XBM raw :data images are not displayed
Date: Sat, 11 Feb 2017 11:57:11 +0200
> From: ynyaaa <at> 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.




This bug report was last modified 8 years and 158 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.