tenox7 / wrp

Web Rendering Proxy: Use vintage, historical, legacy browsers on modern web
Apache License 2.0
1.08k stars 52 forks source link

encode gif in goroutine #62

Closed tenox7 closed 2 years ago

tenox7 commented 4 years ago

currently when gif image option is used, a page screenshot is captured in png, then encoded to gif and page + gif link is returned to client browser

instead, gif encoding should start in a goroutine and page displayed without wating

imgServer should check if if gif encoding is complete before returning image

tenox7 commented 4 years ago

or better yet make image/draw/draw.go:drawPaletted to use gorountines for faster render?

tenox7 commented 2 years ago

this is now solved by a better encoding algorithm