From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Image-conversion shims Date: Sat, 28 Sep 2019 17:05:27 -0400 Message-ID: References: <87v9tctcca.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="145505"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 28 23:06:07 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iEJup-000bix-M5 for ged-emacs-devel@m.gmane.org; Sat, 28 Sep 2019 23:06:07 +0200 Original-Received: from localhost ([::1]:35012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEJuo-0006we-F5 for ged-emacs-devel@m.gmane.org; Sat, 28 Sep 2019 17:06:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56741) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEJuI-0006Hp-4N for emacs-devel@gnu.org; Sat, 28 Sep 2019 17:05:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iEJuG-0001ak-Ps for emacs-devel@gnu.org; Sat, 28 Sep 2019 17:05:33 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:35165) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iEJuG-0001aY-Jk for emacs-devel@gnu.org; Sat, 28 Sep 2019 17:05:32 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 373BC81245; Sat, 28 Sep 2019 17:05:31 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id F2CCA80D78; Sat, 28 Sep 2019 17:05:29 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1569704730; bh=piIg232ZjTAUtc8OGiS9Uxtnl1wioPCnn22TZMWGIzw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=SYp5StFQnk/nx0u0558Q1lTt28QkQ/UpDBLcPKDYj8sPcTlzg6UGa8VkMKvuVfeXw rJMYqMtFzPoHQY1QaCLWY7UkMWBzMWJFiJUZ92iltmwYIkbHQJusk2ot/tv6Th32ji ZIRz8Rdquj1AdoWxLRkXNVDQtDqD7YUUK5foN9L7zYIniiRBBUs3J6VCZcvaH9Z+nD JLVD5fYMPUwT87tDYqiSLirYPiZ0lklojrH/tIhVxGFhNNZRl7RSqZm1SJi5Ts6gRv D8OdVDl8AGg+WsQqkPaArZrZ37O8u/UDghMJ667rkBtSaJ8PhbAIYULlAPbI5SMBPz AvEttl8k+M3Mg== Original-Received: from pastel (107-179-151-143.cpe.teksavvy.com [107.179.151.143]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 85AF41206F3; Sat, 28 Sep 2019 17:05:29 -0400 (EDT) In-Reply-To: <87v9tctcca.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 28 Sep 2019 22:06:29 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 132.204.25.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:240376 Archived-At: > I think our long-term plan is to obsolete the ImageMagick support > completely, because ImageMagick has some security issues. Indeed (security issues and a lack of maintenance, AFAIK). > So I wonder whether a way to speed up the transition to an > ImageMagick-less future would be to have a small package that would > convert "transparently" from formats we don't understand to formats we > do understand. Sounds good to me. > The only likely external conversion program is, unfortunately, "convert" > from ImageMagick, Really? ffmpeg can also convert from WebP to PNG, and I suspect there are many other options for BMP. > Thoughts? Go for it. BTW, I just saw that FLIF is a (usually) better alternative to WebP, so maybe we should add native support for that ;-) Stefan