Subject: Re: bug#28824: 26.0.90; display of pbm images broken?

From: Andy Moreton <[email-masked]>
Date: Sat, 14 Oct 2017 16:01:20 +0100

On Sat 14 Oct 2017, Eli Zaretskii wrote:

>> Date: Fri, 13 Oct 2017 21:10:50 -0500
>> From: "Roland Winkler" <[email-masked]>
>> 
>> start emacs -Q
>> evaluate (arg FILE-OR-DATA of create-image should point to a pbm image)
>> 
>> (defun foo ()
>>   (interactive)
>>   (insert-image (create-image "~/foo.pbm")))
>> 
>> M-x foo
>> 
>> This displays the image with emacs 25, but not with emacs 26.0.90:
>
> Works for me in Emacs 26.0.90 on MS-Windows.  I used PBM images from
> etc/images/ in the Emacs tree: does this fail to work for you with
> those images as well?
>
>> It is my understanding that pbm images do not depend on external
>> libraries.
>
> Yes, no external libraries should be needed.

I see problems with some PBM files from etc/images with emacs 26.0.90 on
Windows. The ones that don't work appear to be those that contain a
Netpbm header, e.g. back-arrow.pbm close.pbm cut.pbm fwd-arrow.pbm
home.pbm

    AndyM