CompressX Documentation

Everything you need to install, configure, and get the best performance from CompressX Free and Pro.

CompressX Docs
Document Notice

Help Improve the Documentation

If you notice something unclear, outdated, or incorrect, feel free to let us know.

Your feedback helps keep the documentation accurate and useful for everyone.

Settings: Global Environment & Output Format

Jan 1, 2026 | Docs

Configure how your server handles image optimization and define the default output formats for your images. This page explains how to choose the right processing library and ensure your server environment is fully compatible with modern formats like WebP and AVIF.

Global Environment & Output Formats

This section allows you to automate the optimization process and select which PHP library to optimize and convert your images.

Global Environment Output Formats

Auto-Optimize New Uploads

Enable this option to automatically convert and optimize new images the moment they are uploaded to the Media Library. This is helpful if you’d like to process your new images according to your global settings without manual intervention.

Library to Process Images

Choose the specific PHP extension to process your image optimization.

  • GD
    A standard PHP extension for handling image optimization. It may be slightly faster at processing large images but supports fewer formats.
  • Imagick
    An advanced image optimization library that supports more image formats and typically produces higher-quality images.
Recommendation
Select Imagick if it is available on your server, as it typically offers better performance and superior compression results.

You can click Check Environment to check whether your server supports WebP and AVIF conversions. This link opens the System Information page, where you can confirm if your PHP version and image libraries are properly configured for the conversions.

System Information

Note
If the server lacks the necessary codecs, the format will be shown as Unsupported and will be disabled automatically.

Output Formats

Select which modern, next-gen formats you want your images to be converted into. You can enable both WebP and AVIF, or choose just one based on your preference.

  • WebP
    A widely supported modern format that provides superior compression for web images.
  • AVIF
    A next-generation format offering even better compression than WebP for significant file size savings.
Recommendation
Enable both WebP and AVIF to serve the most optimized versions possible to your visitors based on their browser compatibility.

Save Changes

Always click Save Changes after modifying any environment or output settings to apply the new configuration to your future conversions.