help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does image-converter work under Windows?


From: Eli Zaretskii
Subject: Re: Does image-converter work under Windows?
Date: Wed, 29 Jun 2022 20:29:28 +0300

> From: Pascal Quesseveur <pquessev@gmail.com>
> Date: Wed, 29 Jun 2022 18:57:40 +0200
> 
> and if I visit the sunraster file I get the following error in the
> Messages buffer:
> 
> Not a PNG image: ‘(image :type png :data \211PNG
> ^Z
> ...
> `\202 :scale 1 :max-width 640 :max-height 544 :format nil
> :transform-smoothing t)’
> 
> Did I miss something?

Please report this as a bug: I suspect we don't bind
coding-system-for-read to prevent EOL conversion when we read the
produced PNG data.  The signature of a PNG image should have a CR
character after "PNG" and before ^Z, and that is missing according to
the error message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]