Henkan – WebP & AVIF Converter

Descripción

Welcome to Henkan (Japanese for «conversion») — your lightweight, high-performance solution for next-generation image optimization in WordPress!

Slow loading times and heavy images are a thing of the past. Henkan seamlessly integrates into your WordPress dashboard, silently converting your standard JPEGs and PNGs into highly optimized WebP or AVIF files. Boost your Core Web Vitals, improve your SEO rankings, and save massive amounts of server bandwidth without sacrificing an ounce of image quality.

✨ Why choose Henkan?

Most image optimizers rely on slow PHP processing or expensive cloud APIs with monthly limits. Henkan is built differently: It prioritizes native OS binaries (cwebp, avifenc) to process images blazingly fast directly on your own server, completely free and without any restrictions.

🚀 Powerful Features

  • Next-Gen Formats: Instantly convert images to WebP and AVIF formats.
  • Zero-Config Auto-Conversion: New images are optimized silently in the background the moment you upload them.
  • 1-Click Bulk Optimization: Got a massive existing media library? Process thousands of images with a single click in our beautiful, modern dashboard.
  • Smart Fallbacks: Uses ultra-fast exec() binaries when available, falling back to GD or ImageMagick seamlessly if needed.
  • Cache Auto-Clear: Fully compatible with WP Rocket, W3 Total Cache, Autoptimize, and LiteSpeed Cache. Conversions automatically trigger a cache purge.
  • Frontend Delivery: Automatically serves the optimized images to compatible browsers using modern HTML <picture> tags or Nginx/Apache rewrites.
  • WP-CLI Power: Built-in commands (wp henkan convert) for sysadmins to process massive libraries directly from the terminal without PHP timeouts.
  • Global Ready: 100% translation-ready. Shipped with English, German (de_DE), and Japanese (ja) out of the box.

🛠️ System Requirements

To unleash the full speed of Henkan, we recommend:
* WordPress: 6.0 or higher
* PHP: 7.4 or higher
* For WebP: cwebp installed on the server (recommended) OR PHP GD extension with WebP support.
* For AVIF: avifenc or ImageMagick (magick/convert) installed OR PHP GD extension with AVIF support.

Capturas

  • The beautiful, modern Henkan Dashboard showing your optimization stats.
  • Bulk conversion in progress with a sleek progress circle.
  • Seamless integration into the WordPress Media Library.

Instalación

  1. Download the latest plugin zip from the repository.
  2. Go to your WordPress Dashboard: Plugins > Add New > Upload Plugin.
  3. Upload the zip file and click Install Now.
  4. Click Activate Plugin.
  5. Navigate to Settings > Henkan in your dashboard.
  6. Choose your preferred format (WebP or AVIF), set the quality (we recommend 82), and click Start Scan to optimize your existing library!

FAQ

Does it delete my original images?

By default, no! Henkan keeps your original JPEGs and PNGs safely stored. You can easily toggle this behavior in the settings if you want to aggressively save disk space.
Note: If you choose to delete the originals, the newly generated optimized file (e.g., WebP or AVIF) will officially replace the old JPEG/PNG as the primary attachment in your WordPress database.

Do I need to pay for an API or subscription?

Absolutely not. Henkan processes everything locally on your own server. No cloud limits, no monthly fees, completely free and open-source.

How do I use the WP-CLI commands?

For large media libraries, using the terminal is highly recommended.
* Scan and convert all missing images: wp henkan convert
* Force convert everything: wp henkan convert --force

Reseñas

No hay valoraciones para este plugin.

Colaboradores y desarrolladores

«Henkan – WebP & AVIF Converter» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce «Henkan – WebP & AVIF Converter» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

2.1.1

  • Fix: Added native WordPress Media Library support for AVIF and JXL formats.
  • Fix: Added an admin grid fallback to display WebP/JPEG thumbnails if the browser does not support JXL natively.

2.1.0

  • Feature: Multi-Format Engine! You can now generate WebP, AVIF, and JXL simultaneously for every uploaded image.
  • Feature: Added experimental support for JPEG XL (.jxl) via cjxl and ImageMagick.
  • UI/UX: Completely redesigned the Admin Dashboard. All settings, Server Rewrites, and WP-CLI commands are now unified into a clean, single-card tabbed interface.
  • Engine: Introduced an intelligent Auto-Fallback system. If native OS binaries (avifenc, cwebp) fail or are blocked by your host, Henkan automatically falls back to PHP GD or ImageMagick.
  • Engine: Strict format priority (WebP > AVIF > JXL) ensures maximum browser compatibility for the main WordPress media library files.
  • Core: Added detailed, transparent error logging directly in the bulk optimization UI to help identify missing server binaries.
  • Compliance: Achieved 100% strict compliance with WordPress Coding Standards (WPCS) and security escaping rules.

2.0.4

  • Bumped minimum requirements to PHP 7.4 and WordPress 6.0 for better security and native binary performance.
  • Improved Readme layout and added FAQ section.

2.0.3

  • Initial release on the official WordPress.org Plugin Directory.
  • Full i18n Overhaul & WP.org Compliance.
  • Strict settings sanitization and security patches applied.