support webp write