[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25660: 25.1; PBM ascii images without spaces are not displayed
From: |
Eli Zaretskii |
Subject: |
bug#25660: 25.1; PBM ascii images without spaces are not displayed |
Date: |
Sat, 11 Feb 2017 11:10:53 +0200 |
> From: ynyaaa@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.