Subject: Re: bug#62789: 29.0.60; WEBP header regexp in image-type-header-regexps fails files containing newlines

From: Eli Zaretskii <[email-masked]>
Date: Wed, 12 Apr 2023 18:47:12 +0300

> From: Visuwesh <[email-masked]>
> Date: Wed, 12 Apr 2023 19:17:13 +0530
> 
> Attached image contains a newline in the header after "RIFF" which the
> regexp in image-type-header-regexps fails to match.  This makes
> create-image return nil for such an image when FILE-OR-DATA is DATA and
> DATA-P is non-nil.

Thanks, but please show a recipe, starting from "emacs -Q", to
reproduce the problem with this image.  I just visited it with
"C-x C-f" and didn't see any problems.