compress the picture with web format

Signed-off-by: scauwjh <scauwjh@gmail.com>