unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Visuwesh <visuweshm@gmail.com>
Cc: 62789@debbugs.gnu.org
Subject: bug#62789: 29.0.60; WEBP header regexp in image-type-header-regexps fails files containing newlines
Date: Wed, 12 Apr 2023 18:47:12 +0300	[thread overview]
Message-ID: <837cuh6r27.fsf@gnu.org> (raw)
In-Reply-To: <87pm89dxge.fsf@gmail.com> (message from Visuwesh on Wed, 12 Apr 2023 19:17:13 +0530)

> From: Visuwesh <visuweshm@gmail.com>
> 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.





      reply	other threads:[~2023-04-12 15:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-12 13:47 bug#62789: 29.0.60; WEBP header regexp in image-type-header-regexps fails files containing newlines Visuwesh
2023-04-12 15:47 ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=837cuh6r27.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=62789@debbugs.gnu.org \
    --cc=visuweshm@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).