Compressing and encoding Camera image into WEBP