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 #8 received at 25661 <at> debbugs.gnu.org (full text, mbox):

From: npostavs <at> users.sourceforge.net
To: ynyaaa <at> gmail.com
Cc: 25661 <at> debbugs.gnu.org
Subject: Re: bug#25661: 25.1; XBM raw :data images are not displayed
Date: Thu, 09 Feb 2017 18:18:49 -0500
retitle 25661 25.1; [w32] XBM raw :data images are not displayed
tags 25661 confirmed
quit

ynyaaa <at> 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.




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

Previous Next


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