Title: Dopic Exact-KB Image Compressor for WebP
Author: zc4414194
Published: <strong>December 5, 2026</strong>
Last modified: December 5, 2026

---

Search plugins

![](https://ps.w.org/dopic-local-webp-image-optimizer/assets/banner-772x250.png?
rev=3845710)

![](https://ps.w.org/dopic-local-webp-image-optimizer/assets/icon-256x256.png?rev
=3845710)

# Dopic Exact-KB Image Compressor for WebP

 By [zc4414194](https://profiles.wordpress.org/zc4414194/)

[Download](https://downloads.wordpress.org/plugin/dopic-local-webp-image-optimizer.1.1.0.zip)

 * [Details](https://wordpress.org/plugins/dopic-local-webp-image-optimizer/#description)
 * [Reviews](https://wordpress.org/plugins/dopic-local-webp-image-optimizer/#reviews)
 *  [Installation](https://wordpress.org/plugins/dopic-local-webp-image-optimizer/#installation)
 * [Development](https://wordpress.org/plugins/dopic-local-webp-image-optimizer/#developers)

 [Support](https://wordpress.org/support/plugin/dopic-local-webp-image-optimizer/)

## Description

**Dopic Exact-KB Image Compressor for WebP** is a privacy-first, 100% local media
upload gatekeeper built by [Dopic Studio](https://dopic.app/). Instead of guessing
vague quality percentages or paying for third-party cloud compression APIs, set 
an **exact maximum KB budget** (such as 150 KB or 200 KB) and let your own WordPress
server enforce it automatically on every upload.

### What Makes This Plugin Different

 * **Exact Target KB Budget Cap (Binary-Search Quality Fitting):** Set a hard file-
   size ceiling in KB (e.g., `150 KB` or `200 KB` for Core Web Vitals LCP images).
   On upload, the plugin locally binary-searches for the highest visual quality 
   that stays under your KB budget.
 * **Smart Size Guard (Zero Negative Optimization):** Small or already-compressed
   images sometimes become larger when converted to WebP. Smart Size Guard compares
   byte sizes before replacing and automatically keeps the smaller file.
 * **EXIF Auto-Orientation & GPS Privacy Strip:** Reads phone EXIF orientation so
   portrait photos never rotate sideways, then strips GPS coordinates and camera
   metadata during local GD re-encoding.
 * **Automatic Local WebP Conversion & Max-Dimension Resize:** Converts uploaded
   JPG and PNG files to `.webp` and proportionally downscales oversized camera uploads(
   e.g., 4000px  2048px) using native PHP GD.
 * **Media Library Savings Column & Dashboard Totals:** View exact before/after 
   file sizes, percentage saved, and KB-cap badges directly in the Media Library
   list view.
 * **100% Local & Privacy-First:** Zero external API calls, zero accounts, zero 
   monthly quotas, and zero image uploads to third-party servers.

Need standalone browser-based utilities such as exact 20KB/50KB compression, AI 
background removal, or official passport photo sizing? Visit [Dopic Online Image Studio](https://dopic.app/).

## Installation

 1. Upload the `dopic-local-webp-image-optimizer` folder to `/wp-content/plugins/` 
    or install directly through the WordPress Plugins screen.
 2. Activate the plugin via the **Plugins** menu.
 3. Configure your Target Max File Size (KB), Smart Size Guard, and WebP options under**
    Settings  Dopic Image Compressor**.

## FAQ

### How is this different from standard image optimization plugins?

Most image optimizers rely on fixed quality percentages or external cloud APIs with
monthly credit limits. This plugin enforces a strict **exact KB file-size cap** 
locally via binary-search quality fitting, includes a **Smart Size Guard** to prevent
negative optimization, and strips GPS/EXIF metadata automatically—all 100% on your
own server.

### Does this plugin upload my images to third-party servers?

No. All KB-budget compression, WebP conversion, resizing, and EXIF stripping happen
100% locally on your WordPress server using native PHP GD.

### What happens if a converted WebP file is larger than my original image?

With **Smart Size Guard** enabled (on by default), the plugin discards the larger
candidate and keeps your smaller original image.

### Are there any monthly limits or API keys required?

No. Unlimited local optimization with zero API keys, subscriptions, or external 
accounts required.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Dopic Exact-KB Image Compressor for WebP” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ zc4414194 ](https://profiles.wordpress.org/zc4414194/)

[Translate “Dopic Exact-KB Image Compressor for WebP” into your language.](https://translate.wordpress.org/projects/wp-plugins/dopic-local-webp-image-optimizer)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/dopic-local-webp-image-optimizer/),
check out the [SVN repository](https://plugins.svn.wordpress.org/dopic-local-webp-image-optimizer/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/dopic-local-webp-image-optimizer/)
by [RSS](https://plugins.trac.wordpress.org/log/dopic-local-webp-image-optimizer/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.0

 * Added Exact Target KB Budget Cap with local binary-search quality fitting.
 * Added Smart Size Guard to prevent negative optimization when converted output
   is larger than the original.
 * Added automatic EXIF orientation correction before stripping GPS/camera metadata.
 * Added Media Library “Dopic Savings” column and total storage saved summary in
   Settings.
 * Added quick Settings action link on the Plugins screen.

#### 1.0.0

 * Initial release with automatic JPG/PNG to WebP conversion, quality control, and
   max-dimension resizing.

## Meta

 *  Version **1.1.0**
 *  Last updated **5 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [exif](https://wordpress.org/plugins/tags/exif/)[image compression](https://wordpress.org/plugins/tags/image-compression/)
   [pagespeed](https://wordpress.org/plugins/tags/pagespeed/)[webp](https://wordpress.org/plugins/tags/webp/)
 *  [Advanced View](https://wordpress.org/plugins/dopic-local-webp-image-optimizer/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/dopic-local-webp-image-optimizer/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/dopic-local-webp-image-optimizer/reviews/)

## Contributors

 *   [ zc4414194 ](https://profiles.wordpress.org/zc4414194/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/dopic-local-webp-image-optimizer/)