You are not logged in.
Hello all! I'm trying to do the following:
gm import screen.jpg | pintaSo after gm import screen.jpg gm ask me to select the area to take from, then I want to redirect it (saved image) to Pinta. How can I do that?
Last edited by timfayz (2016-02-07 14:24:52)
Offline
I don't think you'd want to pipe binary data. And I don't think it is possible with these two programs: pinta doesn't read image data from it's stdin does it?
Just save the image somewhere first:
gm import screen.jpg && pinta screen.jpgEDIT: gm can write the screenshot to stdout, I don't know if that's what you want, or (again) if pinta will read from stdin, but if so:
gm import jpg:- | pintaEDIT2: pinta cannot read a file from stdin or from a process substition block. You need to save the image as an on-disk file or use a different image editor.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Great, it was quite simple! Thank you! ![]()
Offline