=== Pixellize Image Optimizer ===
Contributors: shubhamralli91
Tags: image optimization, webp conversion, compress images, speed optimization, reduce image size
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 0.1
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pixellize-image-optimizer

🚀 Automatically convert images to WebP format in WordPress and improve website speed, performance, and SEO — without any manual work.

== Description ==

**Pixellize Image Optimizer** is a fast, lightweight, and beginner-friendly WordPress plugin that automatically converts uploaded images into modern WebP format.

It ensures that your website loads faster by replacing original image URLs across your entire site — including post content, image tags, and responsive srcset.

⚡ No manual conversion. No complex setup. Just upload and optimize.

---

### 🔥 Key Features

✅ Automatic WebP conversion on image upload
✅ Supports JPG, JPEG, PNG, BMP, and AVIF
✅ Skips images already in WebP format
✅ Smart fallback to Imagick if GD is unavailable
✅ Adjustable WebP quality (0–100, default: 85)
✅ Replace image URLs in:

* Attachment tags
* srcset (responsive images)
* Post/page content

✅ Saves storage by deleting original images after successful conversion
✅ Keeps original file safe if conversion fails
✅ Prevents duplicate conversions
✅ Activation blocked if no supported library (GD/Imagick) is found

---

### 🚀 Why Use This Plugin?

* Improve **Core Web Vitals (LCP, CLS)**
* Boost **SEO rankings**
* Reduce **page load time**
* Save **server storage**
* Deliver **modern image formats automatically**

---

== Installation ==

1. Download the plugin ZIP file
2. Go to **Plugins → Add New → Upload Plugin**
3. Upload and click **Install Now**
4. Activate the plugin
5. Configure settings under **Tools → Pixellize Image Optimizer**

---

== Requirements ==

* PHP 7.4 or higher
* PHP GD extension (recommended) or Imagick

---

== Usage ==

* Upload images normally via Media Library
* Images are automatically converted to WebP
* Customize settings under **Tools → Pixellize Image Optimizer**
* Already converted images are skipped automatically

---

== Frequently Asked Questions ==

= What image formats are supported? =
JPG, JPEG, PNG, BMP, and AVIF. GIF is not supported.

= Does it convert existing images? =
No, currently only new uploads are converted. Bulk conversion will be added in future updates.

= Is the original image deleted? =
Yes, but only after successful conversion. If conversion fails, the original file remains safe.

= What if my server doesn’t support GD? =
The plugin automatically uses Imagick as a fallback. If neither is available, activation will be blocked with an admin notice.

= Can I control image quality? =
Yes, you can set quality from 0 to 100. Default is 85.

= What happens if I upload a WebP image? =
It is skipped — no processing is done.

---

== Changelog ==

= 0.1 =

* Initial release
* Auto WebP conversion (JPG, PNG, BMP, AVIF)
* GD with Imagick fallback
* Quality control option
* Format selection settings
* URL replacement across site
* Activation check for required libraries

---

== Roadmap ==

* Bulk conversion for existing media
* Option to keep original images
* Lazy loading integration
* CDN compatibility improvements

---

== License ==

This plugin is licensed under GPL v2 or later.

---

== Author ==

**Pixellize**
🌐 https://pixellize.com
