Compression of Images (TinyPNG)

Just saw this video on compressing images and it looks amazing.

One concern though, waiting ~20secs for the api to complete is a bit too long for the app users. I know the larger the size the longer the wait, but images coming straight from the phone can be 2-4MB at times.

Is there a way to reduce this wait time or get this to run in the background?

Other
2 replies