unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: 38310@debbugs.gnu.org
Subject: bug#38310: 27.0.50; (image-convert "data" t) doesn't work
Date: Fri, 22 Nov 2019 13:16:11 +0100	[thread overview]
Message-ID: <87a78ot8c4.fsf@gnus.org> (raw)
In-Reply-To: <b4mftigg4mo.fsf@jpl.org> (Katsumi Yamaoka's message of "Fri, 22 Nov 2019 09:02:23 +0900")

Katsumi Yamaoka <yamaoka@jpl.org> writes:

> Ah, thanks.  I verified both these tests work with Emacs -Q.
>
> (with-current-buffer
>     (url-retrieve-synchronously
>      "https://www.gstatic.com/webp/gallery/1.sm.webp")
>   (goto-char (point-min))
>   (search-forward "\n\n")
>   (image-convert (buffer-substring (point) (point-max)) 'image/webp))

Perhaps image-convert should signal an explicit error if the second
parameter isn't on the proper format?

I've now added some better error feedback on the trunk.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2019-11-22 12:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-21  7:12 bug#38310: 27.0.50; (image-convert "data" t) doesn't work Katsumi Yamaoka
2019-11-21 12:55 ` Lars Ingebrigtsen
2019-11-22  0:02   ` Katsumi Yamaoka
2019-11-22 12:16     ` Lars Ingebrigtsen [this message]
2019-11-25  4:11       ` Katsumi Yamaoka
2019-11-27 12:04         ` Lars Ingebrigtsen
2019-11-21 13:02 ` Lars Ingebrigtsen

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=87a78ot8c4.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=38310@debbugs.gnu.org \
    --cc=yamaoka@jpl.org \
    /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).