Moebits/waifu2x

Source and destination buffer

Closed this issue · 1 comments

Add feature that source are buffer and destination or result are buffer

It's not possible to do this only in memory because the cli programs (eg. waifu2x, ffmpeg) only take in file inputs.

The best you can do is write to the filesystem, read it and save as a buffer, then delete the file immediately after. I think that is simple enough for you to implement on your own.