-
Notifications
You must be signed in to change notification settings - Fork 266
Read image from stdin #250
Comments
On Sat, Oct 15 2016, .)(. wrote:
I'm already using the <() syntax for this even without a shell wrapper, I see the proposed patch simply converted the stream into a temporary Why not pass directly the stdin descriptor to the image decoding |
That works for you? Mind sharing an example? |
On Sat, Oct 15 2016, .)(. wrote:
Sorry, <() also doesn't work for me. I meant =() (which does proc |
Ah I see, still a nice trick, thank you. |
sxiv needs to use a temporary file for this, because imlib2 is not able to load an image from memory. |
Sorry for bumping an old issue, but apparently imlib2 has now added support for loading images from memory. Not yet released though, but in current development branch. At least if we understood each other correctly in my upstream feature request: https://phab.enlightenment.org/T8726. (I'm not too familiar with sxiv nor imlib2, so I might have misunderstood or misexplained something.) |
imlib2 version 1.7.0 has now support for reading images from memory: |
It would be nice if I could display an image directly supplied via stdin:
but it currently expects to read a file list, even though -i has not been specified.
The text was updated successfully, but these errors were encountered: