[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: image-dired does not rotate the original image

From: Thien-Thi Nguyen
Subject: Re: image-dired does not rotate the original image
Date: Sun, 22 Jul 2007 19:01:52 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

() "Mathias Dahl" <address@hidden>
() 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?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]