From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.devel Subject: Re: image-dired: Check all external programs available Date: Wed, 31 Aug 2016 15:31:23 +0200 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c190b583637aa053b5e1ec5 X-Trace: blaine.gmane.org 1472650332 16637 195.159.176.226 (31 Aug 2016 13:32:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 31 Aug 2016 13:32:12 +0000 (UTC) Cc: Emacs developers To: Tino Calancha Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 31 15:32:01 2016 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 1bf5cR-0002eJ-Ki for ged-emacs-devel@m.gmane.org; Wed, 31 Aug 2016 15:31:55 +0200 Original-Received: from localhost ([::1]:54209 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bf5cP-0002Kc-B8 for ged-emacs-devel@m.gmane.org; Wed, 31 Aug 2016 09:31:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bf5cI-0002KL-40 for emacs-devel@gnu.org; Wed, 31 Aug 2016 09:31:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bf5cG-00043y-79 for emacs-devel@gnu.org; Wed, 31 Aug 2016 09:31:45 -0400 Original-Received: from mail-ua0-x234.google.com ([2607:f8b0:400c:c08::234]:32951) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bf5cG-00043b-2V for emacs-devel@gnu.org; Wed, 31 Aug 2016 09:31:44 -0400 Original-Received: by mail-ua0-x234.google.com with SMTP id l94so88354138ual.0 for ; Wed, 31 Aug 2016 06:31:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=rgVnWwE1vDQnb8S/W5pwnbHBgqylRYqtUC7WBWEzwjY=; b=RH+1ll461Ix9dH0LqGJ4gGP+uqt3NulBjZ8qHBeRInwIqB2eM9QFVHsY4yepYtPwJ2 RjdXY7/ZVKLyK6fgKdGUNgaWCZZG8NnPPNdKmomZ36GFd2OQDrFtPT46+xxIdtFBupFX VXqFl5k2oV4q7rkX2SG+L6QsPL2xmSPp66UEGs27hWZGEZsAmrpwNuKBWO3ZwA7S+Y6o 2z2rqdun23Xf5A6zJ3Urc1RC8YZDlZloIg3HGxAotpvOtY6gBAqfSSuuNEs5ztv/1P17 OAXF3Um8nvhnUvyN/GiB/leqF/SHbaiI613G3tZGeHq8TV7ky8LF9qTewd9q7dRyWlVS S/HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=rgVnWwE1vDQnb8S/W5pwnbHBgqylRYqtUC7WBWEzwjY=; b=YtLIKOhDn8F1+d+Thq3K8Tmnmo/QLbhF2qf9hn478E/bEUzQc/fDjPKHgMf7Sim3Jr SQkb6mAFl4bO77Rk746rORROwwtsWTwH9kbbHUEhoT3q8gbHw0wiGguZwB9LnkqQNsz2 RFBvUmzkdpYGhX8ezos/buACDORL5gGlvRE6IIlrW0yoPnbAM1LDr8H9Dpx575nmMeH+ IrB+AqRiXFC5YyUFBaBFabw/LbVTww1+15rju8lXk1Aa4GIdrGiisfHjQDZzdNaSh5Kf FRegp0xeyGY82o3a/SRtyn7CG5mLKUrk/MJe6oS4rghsmCKNfOCq9hfmB4UaJGrEzU3W UcUA== X-Gm-Message-State: AE9vXwO8Wcr/Cte3YYoWFTSfXYlWSwDLYQMv+QGfzBsZBVDIbdwqz7qLW6Z6ND4ilb+VzMR2n0GmsohLDMNWMw== X-Received: by 10.176.82.204 with SMTP id w12mr5431861uaw.131.1472650303377; Wed, 31 Aug 2016 06:31:43 -0700 (PDT) Original-Received: by 10.176.4.41 with HTTP; Wed, 31 Aug 2016 06:31:23 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400c:c08::234 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:207024 Archived-At: --94eb2c190b583637aa053b5e1ec5 Content-Type: text/plain; charset=UTF-8 > > As you know, 'convert' also can rotate an image. > Yes, it probably can, but as I remember it, the rotation is lossy, i.e. it makes the JPEG data worse than before the rotation. jpegtran was able to do lossless rotation, which is why I picked it. For thumbnails it would not matter but for rotating original files it's not nice to loose information/quality. As long as users can get hold of jpegtran I think it should be the default program used for rotation. I will keep testing during this week. Then, if everything is OK > i will push the patch to the Emacs repository. > Sounds good, thanks for doing this! /Mathias --94eb2c190b583637aa053b5e1ec5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
As you know, 'convert' also can rotate a= n image.

Yes, it probably can, but as I= remember it, the rotation is lossy, i.e. it makes the JPEG data worse than= before the rotation. jpegtran was able to do lossless rotation, which is w= hy I picked it. For thumbnails it would not matter but for rotating origina= l files it's not nice to loose information/quality. As long as users ca= n get hold of jpegtran I think it should be the default program used for ro= tation.

I will keep testing during this week.=C2=A0 Then, if everything is OK
i will push the patch to the Emacs repository.

Sounds good, thanks for doing this!

/Mathi= as

--94eb2c190b583637aa053b5e1ec5--