Lossless and transparency encoding in WebP