thekevinscott / UpscalerJS

Enhance Images with Javascript and AI. Increase resolution, retouch, denoise, and more. Open Source, Browser & Node Compatible, MIT License.
https://upscalerjs.com
MIT License
787 stars 74 forks source link

Update progress example to allow UI to update on progress #1171

Closed thekevinscott closed 1 year ago

thekevinscott commented 1 year ago

Fix #1118

Allow the UI to have time to updating by setting the awaitNextFrame flag to true.

(If leveraging web workers or something that moved the computation off the main UI thread, this would not be required.)