unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#51331: 29.0.50; cropping images
@ 2021-10-22 10:42 Peter Münster
  2022-09-13 13:53 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Münster @ 2021-10-22 10:42 UTC (permalink / raw)
  To: 51331

Hi,

I would like to crop images in image-dired-image-display-mode with the
mouse and save it then. Does such a function already exists?
If yes, where can I find it please?

If not, could someone create it please? I would be glad to sponsor the
work. A starting point could be
https://lars.ingebrigtsen.no/2018/11/12/cropping-images-in-emacs/

TIA for any help,
-- 
           Peter





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#51331: 29.0.50; cropping images
  2021-10-22 10:42 bug#51331: 29.0.50; cropping images Peter Münster
@ 2022-09-13 13:53 ` Lars Ingebrigtsen
  2022-09-13 14:09   ` Visuwesh
                     ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Lars Ingebrigtsen @ 2022-09-13 13:53 UTC (permalink / raw)
  To: Peter Münster; +Cc: 51331

Peter Münster <pm@a16n.net> writes:

> I would like to crop images in image-dired-image-display-mode with the
> mouse and save it then. Does such a function already exists?
> If yes, where can I find it please?

I've now added an 'image-crop' command to Emacs 29.






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#51331: 29.0.50; cropping images
  2022-09-13 13:53 ` Lars Ingebrigtsen
@ 2022-09-13 14:09   ` Visuwesh
  2022-09-13 14:18   ` Eli Zaretskii
  2022-09-15 15:53   ` Peter Münster
  2 siblings, 0 replies; 7+ messages in thread
From: Visuwesh @ 2022-09-13 14:09 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: Peter Münster, 51331

[செவ்வாய் செப்டம்பர் 13, 2022] Lars Ingebrigtsen wrote:

> Peter Münster <pm@a16n.net> writes:
>
>> I would like to crop images in image-dired-image-display-mode with the
>> mouse and save it then. Does such a function already exists?
>> If yes, where can I find it please?
>
> I've now added an 'image-crop' command to Emacs 29.

Thank you, Lars!  Now I have one less reason to use GIMP.  ;-)





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#51331: 29.0.50; cropping images
  2022-09-13 13:53 ` Lars Ingebrigtsen
  2022-09-13 14:09   ` Visuwesh
@ 2022-09-13 14:18   ` Eli Zaretskii
  2022-09-13 14:28     ` Lars Ingebrigtsen
  2022-09-15 15:53   ` Peter Münster
  2 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2022-09-13 14:18 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: pm, 51331

> Cc: 51331@debbugs.gnu.org
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Tue, 13 Sep 2022 15:53:24 +0200
> 
> Peter Münster <pm@a16n.net> writes:
> 
> > I would like to crop images in image-dired-image-display-mode with the
> > mouse and save it then. Does such a function already exists?
> > If yes, where can I find it please?
> 
> I've now added an 'image-crop' command to Emacs 29.

That seems to require ImageMagick to be installed (it uses commands
from that package)?  This should be in NEWS and perhaps also in the
doc string.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#51331: 29.0.50; cropping images
  2022-09-13 14:18   ` Eli Zaretskii
@ 2022-09-13 14:28     ` Lars Ingebrigtsen
  2022-09-13 14:32       ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Lars Ingebrigtsen @ 2022-09-13 14:28 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: pm, 51331

Eli Zaretskii <eliz@gnu.org> writes:

> That seems to require ImageMagick to be installed (it uses commands
> from that package)?  This should be in NEWS and perhaps also in the
> doc string.

NEWS says "relies on external programs".  It doesn't have to be
ImageMagick, but that's the default.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#51331: 29.0.50; cropping images
  2022-09-13 14:28     ` Lars Ingebrigtsen
@ 2022-09-13 14:32       ` Eli Zaretskii
  0 siblings, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2022-09-13 14:32 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: pm, 51331

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: pm@a16n.net,  51331@debbugs.gnu.org
> Date: Tue, 13 Sep 2022 16:28:06 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > That seems to require ImageMagick to be installed (it uses commands
> > from that package)?  This should be in NEWS and perhaps also in the
> > doc string.
> 
> NEWS says "relies on external programs".  It doesn't have to be
> ImageMagick, but that's the default.

I think the NEWS entry should be less vague about what is expected by
default.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#51331: 29.0.50; cropping images
  2022-09-13 13:53 ` Lars Ingebrigtsen
  2022-09-13 14:09   ` Visuwesh
  2022-09-13 14:18   ` Eli Zaretskii
@ 2022-09-15 15:53   ` Peter Münster
  2 siblings, 0 replies; 7+ messages in thread
From: Peter Münster @ 2022-09-15 15:53 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 51331

[-- Attachment #1: Type: text/plain, Size: 161 bytes --]

On Tue, Sep 13 2022, Lars Ingebrigtsen wrote:

> I've now added an 'image-crop' command to Emacs 29.

Just tested: great, thanks!!

-- 
           Peter

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-09-15 15:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-22 10:42 bug#51331: 29.0.50; cropping images Peter Münster
2022-09-13 13:53 ` Lars Ingebrigtsen
2022-09-13 14:09   ` Visuwesh
2022-09-13 14:18   ` Eli Zaretskii
2022-09-13 14:28     ` Lars Ingebrigtsen
2022-09-13 14:32       ` Eli Zaretskii
2022-09-15 15:53   ` Peter Münster

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).