From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Popineau Newsgroups: gmane.emacs.devel Subject: Re: Image formats support Date: Sun, 19 Mar 2017 00:08:13 +0100 Message-ID: References: <87var6z1sc.fsf@luca> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1147cae48dc407054b095f9e X-Trace: blaine.gmane.org 1489878566 14228 195.159.176.226 (18 Mar 2017 23:09:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 18 Mar 2017 23:09:26 +0000 (UTC) Cc: Emacs developers To: Andreas Politz Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 19 00:09:18 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpNT9-0001qD-PQ for ged-emacs-devel@m.gmane.org; Sun, 19 Mar 2017 00:09:07 +0100 Original-Received: from localhost ([::1]:54914 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpNTF-0001Pg-IG for ged-emacs-devel@m.gmane.org; Sat, 18 Mar 2017 19:09:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47472) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpNSe-0001PU-0L for emacs-devel@gnu.org; Sat, 18 Mar 2017 19:08:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cpNSc-0006p5-Nd for emacs-devel@gnu.org; Sat, 18 Mar 2017 19:08:35 -0400 Original-Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:36610) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cpNSc-0006p1-FZ for emacs-devel@gnu.org; Sat, 18 Mar 2017 19:08:34 -0400 Original-Received: by mail-wm0-x22d.google.com with SMTP id n11so39113940wma.1 for ; Sat, 18 Mar 2017 16:08:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=DHadkMcK8KTgBHggR17o9U2rdFF9BgCQ9Qw72z0Dh1w=; b=lANAtz95L3qp+547/35eb+HhdhXz+9SFZBOaI9zfUKa4Ie5T6kspaFtnWUCThyPXCk G0jYNi252IKWk/g02lHFhMSNi8HZcx3iqI/eceViz69Y7qotWW1Q072bSGfxtWnxabwq GHHH8dczzaHiWLWHhJgFzhIziD1EigUcS8kt+hl3/j6IMVEmGyOIubViL8QPkD2ajQF9 l69z+vEV5TO1hkmbq3MjpjmA2bqfHX8gSdcuSlOAqCxYvQOAZoQZQqSQA+aGeEIqNOnZ 7i0I9Xl7/yPs5lnQHJ22rgY3J2MLoNQe2U8J8/07mxGtw17c2DSBdVhQ/rLS3vonCz4t 60Mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=DHadkMcK8KTgBHggR17o9U2rdFF9BgCQ9Qw72z0Dh1w=; b=mqpeuY2iJWO7JFp8o6y6c06qYCfOityK/4XrkQ8jxd/AMzbc4t3bmfkOROQfcGc3tk MZAvIcY1JPkgTMDmu54Ji/37L+s3Ac1Nl+N9wLnZvP6HqQflcCG7nE9Cyumbf6tkUXYU jh78HiQFSRXsic7/vw84w4iUlJnAj6EyI/Yz8jmTIveHBV9049nseiJNvKwKWQHThGi0 g2m/LQvyFQbMV1teJZs2IMqVMg+rn7+raQiY03IU8C6tLCkKivwOEm5Iv+0RFa1TPRmk VPT6TBcxMpWVpcOB3VUoL/e5LNj686EFuPKzLiNbTEIwtg+Zs3RlLbFQnzIkaCwukoEw nPSg== X-Gm-Message-State: AFeK/H37byEWgbfn7fk12x2bVeqcWHpe90ZEuKTKOXY+kvDi9lvVCSmRE/vNwGkbkX84+noUbjuaT3gzdF1X9g== X-Received: by 10.28.111.3 with SMTP id k3mr4094475wmc.39.1489878513466; Sat, 18 Mar 2017 16:08:33 -0700 (PDT) Original-Received: by 10.28.173.199 with HTTP; Sat, 18 Mar 2017 16:08:13 -0700 (PDT) In-Reply-To: <87var6z1sc.fsf@luca> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22d X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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:213142 Archived-At: --001a1147cae48dc407054b095f9e Content-Type: text/plain; charset=UTF-8 2017-03-18 22:57 GMT+01:00 Andreas Politz : > > Is there a down-side to this, apart from the exe becoming a little bigger > ? I run Windows so the exe is not bigger because the dlls are dynamically loaded. My problem is rather about emacs configuration. Various packages are able to generate preview images on the fly. How a normal user will know that ImageMagick or libpng will render those images ? How to switch from one to the other if needed ? Or should ImageMagick supersede everything else when it is available ? Also some packages call mogrify to resize images. If emacs is compiled with ImageMagick support, surely the cost of calling an external program can be spared. I had the feeling that when ImageMagick support is compiled in, the other graphic format libraries could be removed. But that may not be that simple. I hoped that someone had a good overview of the various options and comment on that feeling. Fabrice --001a1147cae48dc407054b095f9e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


2017-03-18 22:57 GMT+01:00 Andreas Politz <politza@hochschul= e-trier.de>:

Is there a down-side to this, apart from the exe becoming a little bigger ?
=C2=A0
I run Windows so the exe is not bigger = because the dlls are dynamically loaded.
My problem is rather =C2= =A0about emacs configuration. Various packages are able to generate
preview images on the fly. How a normal user will know that ImageMagick = or libpng
will render those images ? How to switch from one to th= e other if needed ?
Or should ImageMagick supersede everything el= se when it is available ?

Also some packages call = mogrify to resize images. If emacs is compiled with
ImageMagick s= upport, surely the cost of calling an external program can be spared.
=

I had the feeling that when ImageMagick support is comp= iled in, the other graphic format
libraries could be removed. But= that may not be that simple.
I hoped that someone had a good ove= rview of the various options and comment on that=C2=A0
feeling.

Fabrice
--001a1147cae48dc407054b095f9e--