Clipboard processing

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, helmut, xnview

SAMSAM
Posts: 31
Joined: Sun Sep 15, 2019 5:14 pm

Clipboard processing

Post 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?
User avatar
xnview
Author of XnView
Posts: 44920
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Clipboard processing

Post by xnview »

-o clipboard
Pierre.
SAMSAM
Posts: 31
Joined: Sun Sep 15, 2019 5:14 pm

Re: Clipboard processing

Post by SAMSAM »

xnview wrote: Thu Nov 21, 2024 3:22 pm-o clipboard
Unfortunately, paired with the "-clipboard" command, it doesn't work... :(
User avatar
xnview
Author of XnView
Posts: 44920
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Clipboard processing

Post by xnview »

Code: Select all

nconvert -clipboard -grey 256 -out clipboard
works
Pierre.
SAMSAM
Posts: 31
Joined: Sun Sep 15, 2019 5:14 pm

Re: Clipboard processing

Post 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. :|