Warp iMagick Image Optimization. Compress images, optimize images & sharpen. Convert WebP.


  • Warp iMagick Image Compressor version 1.8 is WordPress 5.8 WebP ready!
    As this plugin handles only JPEG/PNG media types (+ convert to WebP), other media types upload (including new WebP) is handled by WordPress original code.

  • Warp iMagick Image Optimization is private and free.
    No external cloud/service or signup required. No limits in number or megabytes of optimized images. Plugin uses only PHP software installed on your server.

  • Warp iMagick Image Optimization is easy to use.
    Install, activate, configure and start uploading new media images. To bulk (re)compress existing media images use “Regenerate Thumbnails Plugin” or “WP CLI media regenerate” command.

  • After activation, settings you may want to change are JPEG Compression Quality and SharpenImage Sigma.
    Choose your image compress quality from 30% to 95%. As recommended in video below, plugin default JPEG Compression Quality of 60% is good speed/quality compromise for most of the web sites. If not, choose your own best compression/quality settings. Sharpen Image from 0.5 to 1.5 Sigma. For the rest of the settings, use defaults (some recommended by Google) or feel free to experiment and have fun with. 😇

  • You don’t have to optimize images before upload.
    Warp iMagick image optimizer plugin will do it for you and preserve your uploaded high quality original image as source for multiple recompressions without ever over-compressing.

  • Fastest serving of converted WebP images …
    … is achieved by your server. If you use WordOps, your Nginx Server is already configured to serve WebP clones instead original JPEG/PNG uploads & thumbnails. Serving WebP images with Apache Server requires manual (DIY) modification of .htaccess file. Use WP Htaccess Editor Plugin to safely modify your Apache .htaccess configuration file. You will find instructions on how to configure server and deliver WebP images on the settings page. Click on HELP at the top right of the plugin SETTINGS PAGE.

  • Improve your site performance, Google PageSpeed score and SEO ranking …
    … by serving better compressed images (JPEG/PNG/WebP). When generating WebP images is enabled, every JPEG and PNG media image or thumbnail found during image optimization process is converted to WebP and saved as copy with .webp extension added. Default PNG&JPEG to WebP image compression quality is 75% (configurable). In addition, JPEG to WebP compression quality can be set to use & follow compression quality set for JPEG images.

  • Automatic image optimization to thumbnails and conversion to WebP images:
    Compress better or keep higher image quality than WordPress does by default. Compress images automatically on upload or on “regenerate thumbnails”. Uploaded image is always preserved in original state. Image Compression will always start from original image quality. You can’t “overoptimize”. Reoptimize existing images with “Regenerate Thumbnails plugin” single or batch process, or with “WP CLI media regenerate” command.

  • Generating WebP images is optional
    JPEG image optimization is speed & pagespeed/SEO score efficient even without WebP. Because plugin has advanced JPEG image compress capabilities, not available in WordPress original image compression.

  • Image optimization is compatible with “WP CLI media regenerate” command and/or with “Regenerate Thumbnails” plugin.
    Important Note: Since WordPress 5.3, BIG JPEG images reduced to 2560×2560 (by “Big Image Size Threshold” feature) and then manually edited by user, on regenerate, will be restored back to original (unedited) version. User edited modifications will be lost, unless this plugin is used. See GitHub issue. Same bug/issue applies both to “WP CLI media regenerate” command and “Regenerate Thumbnails plugin”. To fix that bug/issue, install or upgrade Warp iMagick plugin to version 1.6.2 or above.

  • Compatible up to PHP 7.4.9 and tested against coding standards.
    Tested with PHP_CodeSniffer (phpcs) using WordPress Coding Standards GitHub rules and PHPCompatibility rules.

  • Warp iMagick Image Optimizer gives you full control over image optimization, compression quality and file size.
    Images optimization is customizable with advanced image optimization & compression settings. See all options used to optimize images in the plugin Settings page.

  • Multisite support
    Designed to work on WP multisite. No known reason to fail on WP multisite, but not extensively tested yet!

  • Clean uninstall
    By default, no plugin settings are left in your database after uninstall. Feel free to install and activate to make a trial. However, you can choose to preserve plugin options after uninstall. For detailed uninstall info related to added WebP images, see the FAQ section below.

  • Privacy
    Warp-iMagick plugin does not collect nor send any identifiable data from your server, without your consent. WordPress cookies are used to store admin-settings page-state.

  • Known conflicts
    Due to use of bfi_thumb library which completely takes over wordpress WP_Image_Editor classes, in Ajax Search Lite plugin and in Circles Gallery plugin, Warp iMagick plugin will fail to activate while those plugins are active. Activating those plugins after Warp iMagick is activated, may cause malfunction.



  • JPEG Settings
  • PNG Settings
  • WebP Settings
  • Other Settings
  • Regenerate Thumbnails
  • WebP Mobile Page Score


Using The WordPress Plugin Repository

  1. Navigate to the ‘Plugins’ -> ‘Add New’ .
  2. Search for ‘Warp iMagick’.
  3. Select and click ‘Install Now’.
  4. Activate the plugin.


Where is the “GO” button?

There is no “GO” button. When activated, plugin automatically applies compression on all new JPEG/PNG media uploads.

How do I “bulk compress”?

To bulk (re)compress existing media images use “Regenerate Thumbnails Plugin” or “WP CLI media regenerate” command.

Do I need to keep ‘Regenerate Thumbnails’ plugin?

You don’t have to keep “Regenerate Thumbnails Plugin” plugin installed.

Does this plugin support WooCommerce images?

All image sizes are supported, including any theme and/or WooCommerce specific image sizes.

How to serve converted WebP images?

On the settings page, you will find instructions on how to configure server to redirect *.jpg/*.png to *.jpg.webp/*.png.webp and to deliver converted WebP images, if such image is generated by this plugin (file exists) and if visitor’s browser suports WebP image format. Click on HELP at the top right of the plugin SETTINGS PAGE.

How to modify Apache .htaccess configuration file?

Use WP Htaccess Editor Plugin to safely modify your Apache .htaccess configuration file.

Which PHP extensions are required by this plugin?

  1. PHP-Imagick to compress JPEG/PNG files (required).
  2. PHP-GD to convert JPEG/PNG to WebP files (optional, but usually installed).

In order to modify/resize/crop photos or images, WordPress requires at least PHP-GD. When both extensions are installed, WordPress prefers PHP-Imagick over PHP-GD.

Do I have both required PHP extensions installed?

  1. WordPress 5.2 and above: Administrator: Menu -> Tools -> Site Health -> Info -> Expand “Media Handling” and check if “ImageMagick version string” and “GD version” have values.
  2. WordPress 5.1 and below: Install Health Check & Troubleshooting plugin. Open “Health Check” plugin page and click on “PHP Information” tab. You will find there all PHP extensions installed and enabled. Search (Ctrl-F) on page for “Imagick” and “GD”.
  3. WordPress Editor class must be WP_Image_Editor_Imagick (or Warp_Image_Editor_Imagick) but NOT WP_Image_Editor_GD.
  4. PHP-Imagick extension must be linked with ImageMagick library version 6.3.2 or newer.
  5. PHP-GD extension version must be at least 2.0.0 to be accepted by WordPress Image Editor.

Does my web hosting service provide PHP-Imagick and PHP-GD extensions?

  1. WPEngine: Both by default.
  2. EasyWP: Both by default.
  3. DreamHost: By configuration.
  4. SiteGround: Must enable.
  5. Ask your host-service provider.

How to install missing PHP-Imagick or PHP-GD extensions?

  1. CPanel based host
  2. PHP-Imagick setup
  3. Debian/Ubuntu: “apt install php-imagick php-gd”.
  4. Fedora/CentOs: “yum install php-imagick php-gd”.
  5. Ask your host-service provider.

Why WebP files have two extensions?

To prevent overwriting duplicate “WebP” files. With single extension, when you upload “image.png” and “image.jpg”, second “image.webp” would overwrite previous one.

Why is WebP setting (checkbox) disabled?

Because your server has no PHP-GD graphic editing extension or your PHP-GD extension has no WebP support.

What happens with images when plugin is deactivated or deleted?

  1. Existing images remain optimized. If you run “Regenerate Thumbnails” batch process, after plugin is deactivated or deleted, batch process will restore original file-size and quality of WordPress thumbnails.
  2. If you have WebP images, they won’t be deleted. You can delete all WebP images while plugin is active. To delete WebP images, disable WebP option and then batch-run “Regenerate Thumbnails” for all media images.

Why is plugin disabled or fails to activate?

Because your server has no PHP-Imagick installed or has too old version of PHP-Imagick.


Not only the plugin does what it claims the right way (no dependency to cloud services) but the developer is also very responsive. Kudos.
This plugin helps enhance WordPress' default image optimizing if your server is using Imagick (which is preferable to GD if quality is important). There are enough options to dial it in for your particular needs, and the authors continue to add the right options as needs arise. The one option that is very unique compared to most image optimization plugins is the ability to add sharpening to the resized thumbnails. By default, WordPress does not really sharpen the different smaller 'thumbnail' images it creates every time you upload an image. This is VERY important if you value sharp, quality images, as downsampling images can make them look very soft (this is why Photoshop can automatically sharpen when downsampling). This feature alone is a game-changer for us! Lastly, the plugin authors are very responsive and helpful, and seem to care about doing things properly.
Perfect for my project. I've been looking for a plugin to optimize the images in my VPS for some time. I'm glad I found it exactly when I needed it. I would like to donate for the plugin but I don't see any button.
YES, finally a plugin that simply uses the server side image optimization instead of expensive third party services.
More than Convert WebP! finely a solution for "BIG Image Size Threshold", "Warp iMagicks" helped me disabling it.


“Warp iMagick Image Optimization. Compress images, optimize images & sharpen. Convert WebP.” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。



Current Version

  • Compatibility: Get ready for WordPress 5.8 WebP media type.
  • Uninstall: Take care to remove other temporary settings and transients.
  • Uninstall: Cleanup obsolete user meta keys only once peer installation lifetime.

Previous versions