Closed KagChi closed 1 year ago
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.
Add feature that source are buffer and destination or result are buffer