Moebits / waifu2x

waifu2x image upscaling in Node.js
MIT License
70 stars 11 forks source link

Video/Gif cleanup on cancel #26

Closed Specy closed 1 year ago

Specy commented 1 year ago

Currently when stopping a video/gif from upscaling the temp folder where the frames are located is not deleted, i guess this is to implement the resume feature. I'd suggest to expose a option that ignores this behaviour and does cleanup regardless

Moebits commented 1 year ago

Set the noResume property to true and it will always delete the frame folder, thus making it impossible for it to resume, but that's what you asked for.

Specy commented 1 year ago

Thanks!