From unknown Sun Aug 10 20:05:43 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#67149 <67149@debbugs.gnu.org> To: bug#67149 <67149@debbugs.gnu.org> Subject: Status: 30.0.50; save rotated image in image-mode Reply-To: bug#67149 <67149@debbugs.gnu.org> Date: Mon, 11 Aug 2025 03:05:43 +0000 retitle 67149 30.0.50; save rotated image in image-mode reassign 67149 emacs submitter 67149 Peter M=C3=BCnster severity 67149 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 13 09:56:14 2023 Received: (at submit) by debbugs.gnu.org; 13 Nov 2023 14:56:14 +0000 Received: from localhost ([127.0.0.1]:59150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r2YMI-0001oY-8H for submit@debbugs.gnu.org; Mon, 13 Nov 2023 09:56:14 -0500 Received: from lists.gnu.org ([2001:470:142::17]:56678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r2YMF-0001oO-3a for submit@debbugs.gnu.org; Mon, 13 Nov 2023 09:56:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r2YLT-0005uH-OG for bug-gnu-emacs@gnu.org; Mon, 13 Nov 2023 09:55:24 -0500 Received: from smtp-out.a16n.net ([87.98.181.171]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r2YLR-0005oa-5V for bug-gnu-emacs@gnu.org; Mon, 13 Nov 2023 09:55:23 -0500 Received: from server.a16n.net (ml.a16n.net [82.65.98.121]) by smtp-out.a16n.net (Postfix) with ESMTP id B3E0646051C for ; Mon, 13 Nov 2023 15:55:17 +0100 (CET) Received: from ws.localdomain (unknown [192.168.13.254]) by server.a16n.net (Postfix) with ESMTPSA id 88AD1800569 for ; Mon, 13 Nov 2023 15:55:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=a16n.net; s=a16n; t=1699887317; bh=UolCb5FUdhEP1gR5PlQ/OcH46eP49cimgmEb8rlXbRY=; h=From:To:Subject:Date; b=RDtJAeHCQxDVVpGoer1/LeL9BdKgf3F3atCxYeRSQmDyIRR++H+8DV+kJvNxVNqmV zhh7XQJqw5bcm3OE7rwxTNCjQFYEVAgYkH4ZFw5LeYa0dZ3uNta0EJ4ccbUJPa9o7n vlcygQXFEOkXonAGfTSAPCi8ZLOA3ne3xy04nigPmWeAxcBwvTYdQge2T5SvG5MNca sTuoGqHFtW+T67nCbrdtqBBslurB6njdxh1N42L9JiSvjiUKhkfz9d2+MY7V2/RcD4 w2/UuGJqX5OU8fNgc7JFNKfo00KZuyZQKnOtTMxCdw2N2MGnzZiNuTljxewlpP0t3E zb0nILVPFZc9w== Received: by ws.localdomain (Postfix, from userid 1000) id 63E85209D9; Mon, 13 Nov 2023 15:55:17 +0100 (CET) From: =?utf-8?Q?Peter_M=C3=BCnster?= To: Emacs Bugs Subject: 30.0.50; save rotated image in image-mode Date: Mon, 13 Nov 2023 15:55:17 +0100 Message-ID: <87bkbx4sa2.fsf@a16n.net> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Received-SPF: pass client-ip=87.98.181.171; envelope-from=pm@a16n.net; helo=smtp-out.a16n.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, This is a feature request. I would like to rotate an image by 90=C2=B0 and save the result without using image-dired. It seems, that "i r" and "s r" change only the display... Could somebody add this feature please? If not, could you please give some advice how to do that? TIA for any help, =2D-=20 Peter --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iGoEARECACoWIQS/5hHRBUjla4uZVXU6jitvQ7HLaAUCZVI41QwccG1AYTE2bi5u ZXQACgkQOo4rb0Oxy2hasACgl67H6iMEkfV+FmGkMVuNf1Ld6lIAnRxzkj/BG152 hBEAgRv26j0BW+MG =wtgF -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 27 16:38:37 2023 Received: (at control) by debbugs.gnu.org; 27 Dec 2023 21:38:37 +0000 Received: from localhost ([127.0.0.1]:37953 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIbbp-0004Uj-Dq for submit@debbugs.gnu.org; Wed, 27 Dec 2023 16:38:37 -0500 Received: from mail-lj1-x235.google.com ([2a00:1450:4864:20::235]:52271) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIbbn-0004US-RU for control@debbugs.gnu.org; Wed, 27 Dec 2023 16:38:36 -0500 Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-2cb21afa6c1so67541371fa.0 for ; Wed, 27 Dec 2023 13:38:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703713110; x=1704317910; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=pXJzfQWfsXdlXCM0VLMdEyvsRIbafkreTWZCpbCli7U=; b=OB/DqOHeTXcta9lPFYPeFghdgEkaXNx6fOK5+J6L8m5WCQWmBntUclU/2pxtRIWAPC ypyB+QgtybfFn6NasFv8mvZ1T0j6sip57iz6/AYgfLBL0rRTeoaRUdcFl68gB1g0zaKd prS/xkzofq82IBHMBf28N3RC8ZeosA9+QnXMnwYuaPhVILd7fqgze29VbEmnsUjPEfSU H+kgOcJyAqQFf+Dkih1wyzNnLGPBKihDsP0bFa94zvOb4fE2cvsfnRn2aEOIoAgqn1uJ iIkNDX7kZipx9sQGykJ9Zg8fagXDZPhq3tTWu9zNSIVMac6S3sOuTbWltobIZ/T4vCzq x1Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703713110; x=1704317910; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=pXJzfQWfsXdlXCM0VLMdEyvsRIbafkreTWZCpbCli7U=; b=Hsq2RZi1DUTHtgdfxI8wHvZhWkmPckVthFaaeVGWuWI070kT5/o3L//MZ6mHNl62/i 7MB0mLzrbhpbR3qvhVUR+8i0LHSuxYFM7DgHmArdJxos3yGn2J7R7sVaLy4+pdSqPWAf SfyWS1pFqvth2hrUEJaWuQz54uFufJ/uRXVExUKard3mIthG/xQe0XqCqMU5h0WdcRB6 OuJWLeLNrsTKrS7DAHV5ETR7YAL6PDQqe0gZ9rAMYMQjpBPwPf5ijuIkVMB7QRx0jYPP R4xwe0cNy5ob3NfG0Yb/gghMBGo5hApsJ2tKxJR5GDhm3/QviM6M+W/xux2i/bdWQHho 2ntg== X-Gm-Message-State: AOJu0YxmIdQSPWKWWH7PUdfW0LPT9h+mQtWxUHcG3TkOnVo4OTYRy2OX +mCYuBHTFxglRh/9FTMTHb5dKm0WSF7LjQzYoaUxaMDS+nk= X-Google-Smtp-Source: AGHT+IHjd4liRjc/lJEjCCCzqNCwuBNBHOflQhN/1VzJZ/oH5BHHo14tkTPrZZqtlCuXIeFBHdNn+SHDUBe4WN1wZg4= X-Received: by 2002:a2e:9684:0:b0:2cc:7103:6b21 with SMTP id q4-20020a2e9684000000b002cc71036b21mr4122161lji.53.1703713110046; Wed, 27 Dec 2023 13:38:30 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 27 Dec 2023 13:38:29 -0800 From: Stefan Kangas MIME-Version: 1.0 Date: Wed, 27 Dec 2023 13:38:29 -0800 Message-ID: Subject: control message for bug #67149 To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) severity 67149 wishlist quit From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 21 14:20:14 2024 Received: (at 67149) by debbugs.gnu.org; 21 Mar 2024 18:20:14 +0000 Received: from localhost ([127.0.0.1]:50182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rnN1S-0005QQ-1P for submit@debbugs.gnu.org; Thu, 21 Mar 2024 14:20:14 -0400 Received: from smtp-out.a16n.net ([87.98.181.171]:35703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rnN1O-0005Ps-Qu for 67149@debbugs.gnu.org; Thu, 21 Mar 2024 14:20:12 -0400 Received: from server.a16n.net (ml.a16n.net [82.65.98.121]) by smtp-out.a16n.net (Postfix) with ESMTP id F2F53460420 for <67149@debbugs.gnu.org>; Thu, 21 Mar 2024 19:12:55 +0100 (CET) Received: from ws.localdomain (unknown [192.168.13.254]) by server.a16n.net (Postfix) with ESMTPSA id D631A800FC2 for <67149@debbugs.gnu.org>; Thu, 21 Mar 2024 19:12:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=a16n.net; s=a16n; t=1711044775; bh=RXmgEDA4kStSWzFn+kScGWbS2Ld5ClJ5xIvDtTONx7w=; h=From:To:Subject:In-Reply-To:References:Date; b=cGzjpo7f9TzaRBRF0jGNbHaMnYZSS+5CVZi43emXtfWhaNa7LlJjhuK/5Y9654JkK WCY8abb0Frk5emCVN9J2s62AnZDVelf6Dq4VN7eTtreA7Pkj4oJQe/ZsRX0cbpTIR5 s7u6GA0l/ltIK8yjQOwAa/Rjo+x3oF6IY7oUSESRJ7WU7SLsCI6ky6LNFpSzhp8tPf 9pCd1L5NH4KditH9Zv3VW/08sebBFgGts8fVhg4DVaXcnz4jKWJ7MuHiLrYF/XqRwV Jq4AWxjlPnzUWwYoRgP1ed6v4/QT/3oj+dHiZi2r5ZnqW3feYdJpfWB1jBos2hJfEA 7easAposxjFjg== Received: by ws.localdomain (Postfix, from userid 1000) id BC33F206CE; Thu, 21 Mar 2024 19:12:55 +0100 (CET) From: =?utf-8?Q?Peter_M=C3=BCnster?= To: 67149@debbugs.gnu.org Subject: Re: bug#67149: 30.0.50; save rotated image in image-mode In-Reply-To: <87bkbx4sa2.fsf@a16n.net> ("Peter =?utf-8?Q?M=C3=BCnster=22's?= message of "Mon, 13 Nov 2023 15:55:17 +0100") References: <87bkbx4sa2.fsf@a16n.net> Date: Thu, 21 Mar 2024 19:12:55 +0100 Message-ID: <871q83e9nc.fsf@a16n.net> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 67149 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Mon, Nov 13 2023, Peter M=C3=BCnster wrote: > This is a feature request. I would like to rotate an image by 90=C2=B0 and > save the result without using image-dired. It seems, that "i r" and "s > r" change only the display... > > Could somebody add this feature please? Hi, Here is my solution: =2D-8<---------------cut here---------------start------------->8--- (defun pm/img-rotate (dir) "Rotate active image to direction DIR." (call-process (concat "rot" dir ".sh") nil "*Messages*" nil (buffer-file-= name)) (revert-buffer nil t)) (defun pm/img-rotate-left () "Rotate active image to the left." (interactive) (pm/img-rotate "left")) (defun pm/img-rotate-right () "Rotate active image to the right." (interactive) (pm/img-rotate "right")) (define-key image-map "l" 'pm/img-rotate-left) (define-key image-map "r" 'pm/img-rotate-right) =2D-8<---------------cut here---------------end--------------->8--- rotleft.sh and rotright.sh are using jpegtran for the rotation. But there is one problem, that bothers me: When there is something like "Orientation: Rotate 180" in the Exif metadata, the display is not updated after the rotation. My workaround: "exiftool -Orientation=3D image.jpg" and then restart Emacs. What would be a cleaner solution please? TIA for any help, =2D-=20 Peter --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iGoEARECACoWIQS/5hHRBUjla4uZVXU6jitvQ7HLaAUCZfx4pwwccG1AYTE2bi5u ZXQACgkQOo4rb0Oxy2jEWQCfTCr9zCAnK2xGSS1X9bRtunR5OrgAoLMDa+7XB8lF rC2u+vl1AN1bU0KY =Agm3 -----END PGP SIGNATURE----- --=-=-=--