From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dieter Wilhelm Newsgroups: gmane.emacs.bugs Subject: Re: image-dired does not rotate the original image Date: Sun, 22 Jul 2007 15:34:04 +0200 Message-ID: <874pjwpnoz.fsf@debby.local.net> References: <7dbe73ed0707220550k6cdc800asd2474266bcd6f1ed@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 1185111219 6834 80.91.229.12 (22 Jul 2007 13:33:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 22 Jul 2007 13:33:39 +0000 (UTC) Cc: 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 15:33:37 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 1ICbZ2-0003St-8E for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Jul 2007 15:33:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ICbZ1-0006vW-Jq for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Jul 2007 09:33:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ICbYz-0006vE-ED for bug-gnu-emacs@gnu.org; Sun, 22 Jul 2007 09:33:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ICbYx-0006um-5d for bug-gnu-emacs@gnu.org; Sun, 22 Jul 2007 09:33:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ICbYx-0006ug-0d for bug-gnu-emacs@gnu.org; Sun, 22 Jul 2007 09:33:31 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.188]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ICbYv-00084I-Sv; Sun, 22 Jul 2007 09:33:30 -0400 Original-Received: from [89.12.121.55] (helo=debby.local.net) by mrelayeu.kundenserver.de (node=mrelayeu1) with ESMTP (Nemesis), id 0MKwpI-1ICbYn27WO-0005DB; Sun, 22 Jul 2007 15:33:28 +0200 Original-Received: from dieter by debby.local.net with local (Exim 4.63) (envelope-from ) id 1ICbZU-00040q-KB; Sun, 22 Jul 2007 15:34:04 +0200 In-Reply-To: <7dbe73ed0707220550k6cdc800asd2474266bcd6f1ed@mail.gmail.com> (Mathias Dahl's message of "Sun\, 22 Jul 2007 14\:50\:11 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Provags-ID: V01U2FsdGVkX1/2ur9BeFs47M3uRplSfXt+L/v3NDzgtm32jUb rK6l0ned2X23y7nLH+FOPWqagDHWRTO3SoOkrwqdGiCMRIj6oF j15Tl8+HkdMspqnrPn6kH+wtF2F0a+4 X-detected-kernel: Linux 2.6? (barebone, rare!) 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:16198 Archived-At: "Mathias Dahl" writes: >> emacs -Q >> M-x tumme [some directory with jpegs] >> R (image-dired-rotate-original-right) >> >> yields the following error message: >> >> image-dired-rotate-original: Could not rotate image > > By default, `image-dired-cmd-rotate-original-program' is set to > jpegtran, which is a command that can rotate a JPEG without quality I'm sorry, I was convinced that the image-magick suite would be enough for tumme's image manipulations but now I see that you mentioned jpegtran in the manual. Lets see what the respective debian package name is: $ apt-file search jpegtran libjpeg-progs: usr/bin/jpegtran > loss. This is a must, unless there are other tools that does the same Why can't you just use convert? It's needed for the image-dired thumbs anyway, is it too slow? > job. Do you have this program installed? Can you call it from a > terminal? OK, installed libjpeg-progs and it works now, thanks. But its a bit awkward since I'm constantly asked whether I'd like to change the original file and when I decline the rotated display is again reverted. I could imagine that this becomes very annoying when displaying stuff from a read only drive. Does it make sense to check the existence of the needed image-magick and jpegtran executables with the Emacs configure script? And it would be helpful if the error message could give a hint which kind of executable is missing. -- Best wishes H. Dieter Wilhelm Darmstadt, Germany