Page 1 of 1

Clipboard processing

Posted: Wed Nov 13, 2024 8:11 am
by SAMSAM
Please, tell me an example of a command for processing data inside the clipboard.
For example: a fragment of an image is copied to the clipboard (-clipboard), then converted to gray tones (-grey 256) and replaces the data in the clipboard.
Is it possible?

Re: Clipboard processing

Posted: Thu Nov 21, 2024 3:22 pm
by xnview
-o clipboard

Re: Clipboard processing

Posted: Fri Nov 22, 2024 4:20 am
by SAMSAM
xnview wrote: Thu Nov 21, 2024 3:22 pm-o clipboard
Unfortunately, paired with the "-clipboard" command, it doesn't work... :(

Re: Clipboard processing

Posted: Sun Nov 24, 2024 2:22 pm
by xnview

Code: Select all

nconvert -clipboard -grey 256 -out clipboard
works

Re: Clipboard processing

Posted: Mon Nov 25, 2024 7:34 am
by SAMSAM
I finally understood why this team didn't work for me. The algorithm for working with the clipboard in different graphic editors differs. I consider this topic exhausted and closed. :|