From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.bugs Subject: Re: image-dired does not rotate the original image Date: Sun, 22 Jul 2007 19:01:52 +0200 Message-ID: <87lkd8tlrz.fsf@ambire.localdomain> References: <7dbe73ed0707220550k6cdc800asd2474266bcd6f1ed@mail.gmail.com> <874pjwpnoz.fsf@debby.local.net> <7dbe73ed0707220652w3d440b41m98a24248341486d@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1185123743 9605 80.91.229.12 (22 Jul 2007 17:02:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 22 Jul 2007 17:02:23 +0000 (UTC) Cc: Dieter Wilhelm , bug-gnu-emacs@gnu.org To: "Mathias Dahl" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 22 19:02:22 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ICep3-0002tu-Co for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Jul 2007 19:02:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ICep2-0006BZ-TN for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Jul 2007 13:02:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ICep1-0006BU-5Q for bug-gnu-emacs@gnu.org; Sun, 22 Jul 2007 13:02:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ICeoy-0006BI-5x for bug-gnu-emacs@gnu.org; Sun, 22 Jul 2007 13:02:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ICeoy-0006BF-12 for bug-gnu-emacs@gnu.org; Sun, 22 Jul 2007 13:02:16 -0400 Original-Received: from ppp-138-32.21-151.libero.it ([151.21.32.138] helo=ambire.localdomain) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ICeox-0004q6-FC for bug-gnu-emacs@gnu.org; Sun, 22 Jul 2007 13:02:15 -0400 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1ICeoa-0002ep-H0; Sun, 22 Jul 2007 19:01:52 +0200 In-Reply-To: <7dbe73ed0707220652w3d440b41m98a24248341486d@mail.gmail.com> (Mathias Dahl's message of "Sun\, 22 Jul 2007 15\:52\:16 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: Genre and OS details not recognized. X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16201 Archived-At: () "Mathias Dahl" () Sun, 22 Jul 2007 15:52:16 +0200 As I mentioned earlier, jpegtran does lossless rotation, something `convert' cannot do (or could not the last time I checked). does this limitation also exist w/ mogrify(1) (or alternatively gm(1) subcommand mogrify)? i suppose to check for loss one could use: cp foo.jpg foo.orig.jpg gm mogrify -rotate -90 foo.jpg gm mogrify -rotate 90 foo.jpg cmp foo.jpg foo.orig.jpg however, doing the above (even w/ "-quality 100" for the mogrify commands) always results in cmp(1) noting a difference, even though visually i could not tell. i'm not a graphics format expert; could you suggest a better way to check for loss? thi