Convert image from clipboard to clipboard (?)

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
kadkam
Posts: 9
Joined: 2008-01-09T15:20:23+00:00

Convert image from clipboard to clipboard (?)

Post by kadkam »

Actually I have this command line for converting black to white from an image:

convert %1 -fuzz 0 -fill "#FFFFFF" -opaque "#000000" %1

now I need to do same but with the image source on clipboard.
(convert from clipboard and save on clipboard)
How I can do it?

thanks
snibgo
Posts: 12159
Joined: 2010-01-24T06:01:33+00:00
Authentication code: 1151
Location: England, UK

Re: Convert image from clipboard to clipboard (?)

Post by snibgo »

What version of IM, on what platform?

On Windows, you can use "clipboard:" for input or output, eg:

Code: Select all

convert %1 -fuzz 0 -fill "#FFFFFF" -opaque "#000000" clipboard:
convert clipbord: -fuzz 0 -fill "#FFFFFF" -opaque "#000000" %1
snibgo's IM pages: im.snibgo.com
Post Reply