If you are interested in some further reading on another resource that does exactly that, have a scan through https://tinypng.com/developers

TinyPNG is pretty neat stuff!


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com