From: "Mathias Dahl" <mathias.dahl@gmail.com>
To: "Dieter Wilhelm" <dieter@duenenhof-wilhelm.de>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: image-dired does not rotate the original image
Date: Sun, 22 Jul 2007 15:52:16 +0200 [thread overview]
Message-ID: <7dbe73ed0707220652w3d440b41m98a24248341486d@mail.gmail.com> (raw)
In-Reply-To: <874pjwpnoz.fsf@debby.local.net>
> Why can't you just use convert? It's needed for the image-dired
> thumbs anyway, is it too slow?
As I mentioned earlier, jpegtran does lossless rotation, something
`convert' cannot do (or could not the last time I checked). The point
of the R and L commands are to rotate the original file, it was not
intended for rotating the displayed image. The only such command that
exist yet is the rotation of the thumbnails.
> 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.
That is because I designed that command to rotate the original, it was
not intended for rotate of the displayed image, for view purposes.
That is why you get the confirmation, because it will overwrite the
original file. Maybe this was not the best design decision but it was
what I wanted/needed when I implemented it. Feel free to write a new
command if you like, the code for rotating is there for thumbnails
already.
> Does it make sense to check the existence of the needed image-magick
> and jpegtran executables with the Emacs configure script?
`image-dired.el' should make more sanity checks in this area, that is
what is missing. I was too lazy to add them...
/Mathias
next prev parent reply other threads:[~2007-07-22 13:52 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
2007-07-22 13:52 ` Mathias Dahl [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7dbe73ed0707220652w3d440b41m98a24248341486d@mail.gmail.com \
--to=mathias.dahl@gmail.com \
--cc=bug-gnu-emacs@gnu.org \
--cc=dieter@duenenhof-wilhelm.de \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.