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: Sat, 18 Mar 2017 16:00:02 +0100 Message-ID: References: <87shma1wze.fsf@luca> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f403045f1d6cb83a90054b028d26 X-Trace: blaine.gmane.org 1489849236 9562 195.159.176.226 (18 Mar 2017 15:00:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 18 Mar 2017 15:00:36 +0000 (UTC) Cc: Emacs developers To: Andreas Politz Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 18 16:00:32 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 1cpFqJ-0001uX-2w for ged-emacs-devel@m.gmane.org; Sat, 18 Mar 2017 16:00:31 +0100 Original-Received: from localhost ([::1]:53614 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpFqN-0000Dc-ES for ged-emacs-devel@m.gmane.org; Sat, 18 Mar 2017 11:00:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpFqE-0000CX-7z for emacs-devel@gnu.org; Sat, 18 Mar 2017 11:00:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cpFqC-0001QA-Ms for emacs-devel@gnu.org; Sat, 18 Mar 2017 11:00:26 -0400 Original-Received: from mail-wr0-x236.google.com ([2a00:1450:400c:c0c::236]:34994) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cpFqC-0001Pc-EW for emacs-devel@gnu.org; Sat, 18 Mar 2017 11:00:24 -0400 Original-Received: by mail-wr0-x236.google.com with SMTP id g10so67893183wrg.2 for ; Sat, 18 Mar 2017 08:00:24 -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=NAKWppy5Fqr0aNBPOi1unMOxXLPZnEYy2XZulGdnAp8=; b=c+weTIotmavJUs3yYJPOBj04O6U1PLu2XbFjKKi/MKde1AcIIaoqN7fs+F+aTaSeGg xZmtc1JpB0jTabbFX52jwRkL7yqAOvS1e2mMpwxy5inLtY3dIIiEjH4ItjgsfdG2jAKa QNUN8G7L5dBSCxjL5VG5Et9re6Lns7CdixqKLA+5vCLGc5hHSPxyAvCXDtF+BHVZ2GVB M0BiXNs0BHEh85jUEInwGuHhwSf3uc/BCq2O94r/36/D+0aNXB7tyExw5RC4abH5PYQi VuDxfhJ9hzmcaZj0T6tgyoqSDqurRfJIs/J3ORaL0st/aFi8vjPogUThnkdauW63VKkK os/Q== 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=NAKWppy5Fqr0aNBPOi1unMOxXLPZnEYy2XZulGdnAp8=; b=d8ca3j2pbVb32luSnQVRW+JnEIShQeM9tAcE0GSK0Y62ehxfeE2sNAa9oW9pmCfLhO 5LZ98YblFsd1YdhunczGHOA/SuGe62NKtxRPwb4wq+4UZbfKRikH0QpeAQmDSvD3jZy0 YwhE3qTB66dp2gOrZ6U4rcAhGblOgKJ5yfiQfeurgXYN6mc0SA6eK28xEOquoKqJwt2h PNhpvP3nNWxO3FOkdG07B66/crZPrlO5qpsn0FBYppUT9Y2MtKuG2yQLKIonhz5FNsLB P14hwQvaK8Z4LIu4vjnLvwVurh4oiNuW2HW82XsowChKKUyEiQn7Ufp3W1PF0Bl0eAlS dWMg== X-Gm-Message-State: AFeK/H0fzPEFXDt3pUOwufyRneDOh8H69Wkx7fPIytW2p2CVRLOZB9Fc1C+Pt41d+lLpcnVF6E7rrKM03iPJsA== X-Received: by 10.223.163.131 with SMTP id l3mr17852600wrb.138.1489849223229; Sat, 18 Mar 2017 08:00:23 -0700 (PDT) Original-Received: by 10.28.173.199 with HTTP; Sat, 18 Mar 2017 08:00:02 -0700 (PDT) In-Reply-To: <87shma1wze.fsf@luca> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::236 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:213123 Archived-At: --f403045f1d6cb83a90054b028d26 Content-Type: text/plain; charset=UTF-8 2017-03-18 15:27 GMT+01:00 Andreas Politz : > Fabrice Popineau writes: > > > Maybe a stupid question but if emacs is compiled with ImageMagick > support, > > what is the point in asking JPEG, PNG, etc support at the same time from > independent libraries ? > > Shouldn't configure made those options to be exclusive ? > > Imagemagick is handled like an image type, so png and imagemagick are > two different types. One uses libpng as backend and the other > libmagick. My point is that only one of imagemagick and libpng will handle png files at a time. When ImageMagick is available, it supersedes png, jpeg and anything it handles (AFAICS). If you want to let libpng handle png files, you need to change some defaults (imagemagick-filter-types, etc.) > > Also what is (are) the drawback(s) of ImageMagick support vs the other > libraries ? > > In my experience, libpng is faster then imagemagick. Ok, that is understandable. Fabrice --f403045f1d6cb83a90054b028d26 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


2017-03-18 15:27 GMT+01:00 Andreas Politz <politza@hochschul= e-trier.de>:
Fabrice Popineau <fabrice.popineau@gmail.com> writes:

> Maybe a stupid question but if emacs is compiled with ImageMagick supp= ort,
> what is the point in asking JPEG, PNG, etc support at the same time fr= om independent libraries ?
> Shouldn't configure made those options to be exclusive ?

Imagemagick is handled like an image type, so png and imagemagick ar= e
two different types.=C2=A0 One uses libpng as backend and the other
libmagick.
=C2=A0
My point is that only one of i= magemagick and libpng will handle png files at a time.
When Image= Magick is available, it supersedes png, jpeg and anything it handles (AFAIC= S).
If you want to let libpng handle png files, you need to chang= e some defaults=C2=A0
(imagemagick-filter-types, etc.)
= =C2=A0
> Also what is (are) the drawback(s) of ImageMagick support vs the other= libraries ?

In my experience, libpng is faster then imagemagick.

Ok, that is understandable.

Fabri= ce
--f403045f1d6cb83a90054b028d26--