=== OmegaPix Image Optimizer – Convert WebP & AVIF (Local, No Cloud) ===
Contributors: wxdlabs
Tags: webp, avif, image optimization, performance, compress
Requires at least: 6.2
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Optimize images and convert to WebP & AVIF on your own server. Local, private, no cloud, no credits — faster site and better Core Web Vitals.

== Description ==

**OmegaPix Image Optimizer** makes your WordPress images lighter — automatically, and entirely on your own server. When an image is uploaded it's resized if oversized and converted to next‑gen **WebP** (or **AVIF** where your server supports it). No image is ever sent to an external service. No account, no API credits, no monthly quota.

It's the WordPress companion to [OmegaPix](https://omegapix.app), the privacy‑first image & PDF toolkit. Same promise, both places: **your files never leave your own infrastructure.**

= Why OmegaPix Image Optimizer =

* **Local‑first & private** — everything runs on your server. Unlike cloud optimizers, your media is never uploaded to a third party. GDPR‑friendly by design.
* **Automatic at upload** — set it once; every new upload is resized and converted. Editors don't change how they work.
* **Accept, don't block** — large images are optimized, never rejected. Only disallowed file *types* are refused.
* **WebP & AVIF, best‑available** — prefers AVIF, falls back to WebP, and skips gracefully if the server can't do either.
* **You can actually see it working** — a Media Library column shows each image's status, file‑size savings, and links to the generated next‑gen files. No black box.
* **Bulk optimize your existing library** — batched, time‑out‑safe AJAX runs with live progress.
* **Reprocess any single image** — one click on any attachment.
* **Capability‑aware** — detects GD/Imagick support for WebP/AVIF and warns you honestly instead of failing silently.
* **Safe by default** — never destructive. "Replace Original" is optional, off by default, and clearly flagged Beta until rollback exists.
* **Free.** The whole thing. A premium tier may come later, but the core optimizer is free.

= How it helps your site =

Lighter images mean faster loads, better **Core Web Vitals** (LCP/CLS), higher PageSpeed scores, and better SEO — without sending a single file off your server.

== Installation ==

1. Upload the plugin to `/wp-content/plugins/omegapix-image-optimizer`, or install it from **Plugins → Add New**.
2. Activate it through the **Plugins** screen.
3. Open **OmegaPix** in the admin menu. The plugin auto‑detects whether your server supports WebP and AVIF and tells you what's available.
4. (Optional) Run **Bulk Optimize** to process images you've already uploaded.
5. New uploads are optimized automatically from now on.

== Frequently Asked Questions ==

= Are my images uploaded to OmegaPix or any cloud service? =
No. All processing happens on your own server using PHP's GD or Imagick. Nothing is ever sent to OmegaPix or any third party.

= What's the difference between this and the OmegaPix website? =
The website (omegapix.app) processes images right in your browser. This plugin processes them on your WordPress server. Both share the same rule: your files never reach our servers.

= Does it support AVIF? =
Where your server can (GD/Imagick built with AVIF support), yes — and it's preferred over WebP. If AVIF isn't available it uses WebP; if neither is available it tells you clearly.

= Will it delete or damage my original images? =
No. By default originals are kept and next‑gen copies are generated alongside them. "Replace Original" is an optional, off‑by‑default Beta feature.

= Will it slow down my uploads? =
Conversion happens at upload time and is optimized to be quick; bulk runs on existing media are batched so they won't time out.

= Is it really free? =
Yes — the core optimizer is free. A premium tier may be added later, but local optimization, WebP/AVIF conversion, and bulk processing are free.

== Screenshots ==
1. Media Library column showing optimization status and file‑size savings.
2. Settings screen with server capability detection (WebP/AVIF availability).
3. Bulk optimization running with live progress.
4. Single‑attachment reprocess control.

== Changelog ==
= 1.0.0 =
* Initial public release: automatic upload‑time resize + WebP/AVIF conversion, Media Library status column, bulk optimization, single‑attachment reprocess, capability detection, optional logging, optional Replace Original (Beta).

== Upgrade Notice ==
= 1.0.0 =
First public release of OmegaPix Image Optimizer.
