[Gimp-user] Copy png to clipboard via gimp-console



Thanks for the response. It was helpful!

That can't work. Big objects such as images are not copied to the 
clipboard (on Linux and AFAIK also on Windows). When you copy an image
the clipboard only contains a message that allows the receiving
process
to connect to the source process and get the data directly form it. In
your case, since Gimp exits immediately after copying the data, the 
receiving process cannot connect to it.

Try this:

 * Start another application (word processor)
 * Open an image in Gimp
 * Copy to clipboard (Ctrl-A, Ctrl-C)
* Back to the word processor: Ctrl-V to copy the image: it should
work
 * Ctrl-V to copy the image a second time: it should work
 * Close the Gimp image window (but keep Gimp up)
 * Ctrl-V to copy the image a third time: it should work
 * Close Gimp completely
* Ctrl-V to copy the image a fourth time: it won't work, because
Gimp
   is no longer here to service it.

On a side note, having batch process use the clipboard is treacherous;
while they run you cannot do anything on your system since they could 
overwrite what you put in the clipboard.

-- 
pUlI (via www.gimpusers.com/forums)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]