GNU bug report logs - #25660
25.1; PBM ascii images without spaces are not displayed

Previous Next

Package: emacs;

Reported by: ynyaaa <at> gmail.com

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

Severity: normal

Found in version 25.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: ynyaaa <at> gmail.com
Cc: 25660-done <at> debbugs.gnu.org
Subject: Re: bug#25660: 25.1; PBM ascii images without spaces are not displayed
Date: Sat, 11 Feb 2017 11:10:53 +0200
> From: ynyaaa <at> gmail.com
> Date: Thu, 09 Feb 2017 17:20:26 +0900
> 
> 
> Emacs displays black rectangles for PBM ascii images
> without spaces in raster lines.
> 
> ;; wrong image(black square) is shown
> (insert-image (create-image "P1\n4 4\n1111\n1001\n1001\n1111\n" 'pbm t))
> 
> ;; correct image(4x4 pixel framed square) is shown
> (insert-image (create-image "P1\n4 4\n1 1 1 1\n1 0 0 1\n1 0 0 1\n1 1 1 1\n"
>                             'pbm t))

Thanks, fixed.




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

Previous Next


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