unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
To: "Mathias Dahl" <mathias.dahl@gmail.com>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: image-dired does not rotate the original image
Date: Sun, 22 Jul 2007 15:34:04 +0200	[thread overview]
Message-ID: <874pjwpnoz.fsf@debby.local.net> (raw)
In-Reply-To: <7dbe73ed0707220550k6cdc800asd2474266bcd6f1ed@mail.gmail.com> (Mathias Dahl's message of "Sun\, 22 Jul 2007 14\:50\:11 +0200")

"Mathias Dahl" <mathias.dahl@gmail.com> 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

  reply	other threads:[~2007-07-22 13:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-22 12:02 image-dired does not rotate the original image Dieter Wilhelm
2007-07-22 12:50 ` Mathias Dahl
2007-07-22 13:34   ` Dieter Wilhelm [this message]
2007-07-22 13:52     ` Mathias Dahl
2007-07-22 17:01       ` Thien-Thi Nguyen
     [not found]       ` <mailman.3767.1185123740.32220.bug-gnu-emacs@gnu.org>
2007-07-24  6:52         ` Mathias Dahl
2007-07-24 22:50           ` Dieter Wilhelm
2007-07-25  7:25             ` Mathias Dahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874pjwpnoz.fsf@debby.local.net \
    --to=dieter@duenenhof-wilhelm.de \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=mathias.dahl@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).