Title: DVMAGIC Local Image Conversion for AVIF and WebP
Author: Dmitri Shevelkin
Published: <strong>2026 年 8 月 31 日</strong>
Last modified: 2026 年 8 月 31 日

---

搜尋外掛

![](https://ps.w.org/dvmagic-local-image-conversion/assets/banner-772x250.png?rev
=3674718)

![](https://ps.w.org/dvmagic-local-image-conversion/assets/icon-256x256.png?rev=
3674718)

# DVMAGIC Local Image Conversion for AVIF and WebP

 由 [Dmitri Shevelkin](https://profiles.wordpress.org/dvmagic/) 開發

[下載](https://downloads.wordpress.org/plugin/dvmagic-local-image-conversion.1.0.2.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/dvmagic-local-image-conversion/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/dvmagic-local-image-conversion/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/dvmagic-local-image-conversion/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/dvmagic-local-image-conversion/#developers)

 [技術支援](https://wordpress.org/support/plugin/dvmagic-local-image-conversion/)

## 外掛說明

**DVMAGIC Local Image Conversion for AVIF and WebP** converts JPEG, PNG and GIF 
uploads to modern formats on your own server — and can batch-convert your existing
Media Library.

Built by [Auslander Studio](https://seohero.uk/free-plugins/) for production WordPress
sites we operate ourselves. Unlike SaaS optimizers, everything runs locally with
no usage caps — full feature set, free.

#### What makes this plugin different

 * **No external API** — images never leave your server
 * **No subscription or quota** — batch the whole Media Library when you need to
 * **AVIF-first with WebP fallback** when the host cannot encode AVIF
 * **Optional keep originals** for rollback without a second plugin
 * **Server capability panel** so you know what the host can encode before you batch
 * **URL rewrite** in post content and meta after conversion

#### Features

 * Convert on upload (optional)
 * Batch convert legacy library images
 * AVIF primary with automatic WebP fallback when the host lacks AVIF encode
 * Optional **Keep originals** (off by default)
 * Server capability panel (Imagick, GD, AVIF/WebP)
 * URL rewrite in post content and meta after conversion
 * Action Scheduler queue when available; WP-Cron fallback

#### Requirements

 * **AVIF encoding:** PHP extension **imagick** (PECL imagick) with ImageMagick 
   built for AVIF output (AVIF in `Imagick::queryFormats('AVIF')`). GD cannot encode
   AVIF in this plugin.
 * **WebP encoding:** **imagick** with WebP support, **or** PHP extension **gd**
   with WebP enabled (`imagewebp` available).
 * Sufficient disk space and CPU for batch jobs
 * **Back up `wp-content/uploads/` before running a full library batch**

Check **Media  DVMAGIC Image Conversion  Server capabilities** after install — the
panel shows Imagick, Imagick WebP, Imagick AVIF, and GD WebP on your host.

#### PHP extensions (summary)

 * **AVIF output** — PHP extension `imagick` (PECL). ImageMagick on the server must
   support AVIF encode (host-dependent; often ImageMagick 7 + libavif). Check “Imagick
   AVIF” in the plugin’s Server capabilities panel.
 * **WebP output** — `imagick` with WebP support, **or** PHP extension `gd` with
   WebP enabled (`imagewebp`).
 * **Reading JPEG/PNG/GIF** — `imagick` and/or `gd` (typical on most hosts).

If only GD with WebP is available, set **Primary format** to WebP, or leave AVIF
and the plugin will fall back to WebP when AVIF encode is not detected.

#### Author

DVMAGIC — [LinkedIn](https://www.linkedin.com/in/dmitri-shevelkin-4a654098/)

## 螢幕擷圖

[⌊Settings and server capability panel⌉⌊Settings and server capability panel⌉[

Settings and server capability panel

## 安裝方式

 1. Upload the plugin folder to `/wp-content/plugins/` or install from WordPress.org.
 2. Activate **DVMAGIC Local Image Conversion for AVIF and WebP**.
 3. Open **Media  DVMAGIC Image Conversion**.
 4. Review server capabilities, save settings, then run a small test upload before 
    batching the whole library.

## 常見問題集

### Does this call an external API?

No. All encoding happens on your server.

### Will AVIF work on every host?

No. **AVIF encoding requires the PHP `imagick` extension** and an ImageMagick build
that can write AVIF (see Server capabilities: “Imagick AVIF”). Many shared hosts
have Imagick without AVIF, or only GD with WebP.

When AVIF encode is unavailable, the plugin **falls back to WebP** (via Imagick 
or GD).

### Which PHP extensions do I need?

 * **AVIF:** enable **`imagick`** in PHP and ensure ImageMagick on the server supports
   AVIF output (ask your host or check the plugin’s capability panel).
 * **WebP:** **`imagick`** (WebP) **or** **`gd`** with WebP (`imagewebp`).
 * You do **not** need both imagick and gd — one working WebP path is enough if 
   you use WebP as primary or accept AVIFWebP fallback.

### Can I keep JPEG/PNG files after conversion?

Yes. Enable **Keep originals** in settings. WordPress still serves the modern attachment
file.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈DVMAGIC Local Image Conversion for AVIF and WebP〉的開發
相關工作。

參與者

 *   [ Dmitri Shevelkin ](https://profiles.wordpress.org/dvmagic/)

[將〈DVMAGIC Local Image Conversion for AVIF and WebP〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/dvmagic-local-image-conversion)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/dvmagic-local-image-conversion/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/dvmagic-local-image-conversion/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/dvmagic-local-image-conversion/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/dvmagic-local-image-conversion/)。

## 變更記錄

#### 1.0.2

 * Renamed plugin for WordPress.org guidelines (distinctive DVMAGIC branding)
 * Unified `dvmlic_` prefixes for options, AJAX, hooks, and classes
 * Admin batch UI JavaScript moved to enqueued `assets/admin.js`
 * Migrates legacy `smo_*` settings on activation when present
 * Readme: explicit PHP extension requirements for AVIF (imagick) and WebP (imagick
   or gd)

#### 1.0.1

 * Plugin Check: WP_Filesystem / wp_delete_file for file ops
 * Prefixed filters and settings helper
 * Tested up to WordPress 7.1

#### 1.0.0

 * Initial WordPress.org release
 * Upload + batch conversion, keep originals, server status panel

## 中繼資料

 *  版本 **1.0.2**
 *  最後更新 **4 天前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 5.8 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.1**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/dvmagic-local-image-conversion/)
 * 標籤:
 * [AVIF](https://tw.wordpress.org/plugins/tags/avif/)[convert images](https://tw.wordpress.org/plugins/tags/convert-images/)
   [image optimization](https://tw.wordpress.org/plugins/tags/image-optimization/)
   [media library](https://tw.wordpress.org/plugins/tags/media-library/)[webp](https://tw.wordpress.org/plugins/tags/webp/)
 *  [進階檢視](https://tw.wordpress.org/plugins/dvmagic-local-image-conversion/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/dvmagic-local-image-conversion/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/dvmagic-local-image-conversion/reviews/)

## 參與者

 *   [ Dmitri Shevelkin ](https://profiles.wordpress.org/dvmagic/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/dvmagic-local-image-conversion/)