BinomialLLC / basis_universal

Basis Universal GPU Texture Codec
Apache License 2.0
2.73k stars 267 forks source link

Can't read from stdin or write to stdout #236

Open besworks opened 3 years ago

besworks commented 3 years ago

I would like to be able to pipe binary image data into the basisu command and get binary data out but it doesn't seem to support reading from stdin and I don't see any way to specify the output location at all.

besworks commented 3 years ago

I ended up using temp files to workaround this issue but I still think this is a feature that should be supported.

richgel999 commented 3 years ago

Thank you - I've added this to my TODO list. Should be easy to do.

MarkCallow commented 3 years ago

Shouldn't be easy to do.

I suspect you intended to write "Should be easy to do". On the other hand what you wrote is more likely the truth, if you are supporting multiple binary data input formats.

richgel999 commented 3 years ago

Sorry, that was a typo- it's easy to do.