Image Processing and Optimization

To ensure fast delivery and consistent performance across various network conditions and device types, the WhatsApp Business Platform automatically optimizes all image assets.

Automatic Re-encoding

When an image is uploaded to the WhatsApp servers, it undergoes an automated processing pipeline before being delivered to the recipient. This behavior includes:

  • Format Conversion: Images uploaded in lossless formats (such as PNG) are automatically converted to JPEG.

  • Re-compression: Existing JPEG files are re-encoded. This typically reduces the file size by 70–80% compared to the original upload.

  • Lossy Delivery: The recipient receives the optimized version of the asset rather than the original binary file.

Impact on Media Quality

Because this process uses lossy compression to prioritize network efficiency, developers and businesses may notice the following:

  • Compression Artifacts: Visible blurring or "noise," particularly in areas of flat color or around sharp edges (e.g., logos or text-heavy marketing assets).

  • Color Shifts: Minor variations in color profile due to the conversion to JPEG.

  • Detail Loss: A reduction in fine textures in high-resolution photography.

Best Practices for Developers

To achieve the best possible visual results within these constraints, we recommend the following:

  • Upload High-Quality JPEGs: Since the platform converts all images to JPEG anyway, uploading a high-quality JPEG (with minimal compression) avoids the overhead and unpredictable artifacts of a PNG-to-JPEG conversion.

  • Optimize for High Contrast: Avoid extremely thin lines or small text within images, as these are most susceptible to compression artifacts.

  • Preview on Mobile: Always test your assets by sending them to a physical device to verify that the automated optimization meets your brand’s quality standards.

circle-info

Note: We are currently working on features to support "HD Media" delivery to allow for higher-fidelity asset sharing. Check our Changelogarrow-up-right for future updates regarding high-definition image support.

Last updated

Was this helpful?