=== UZYTAK Upscale – AI Image Enlarger ===
Contributors: uzytak
Tags: upscale, image enlarger, ai, media library, real-esrgan
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Enlarge Media Library images 2× or 4× with AI, right in your browser. No cloud, no credits, no API key — the image never leaves your computer.

== Description ==

Small product photos, old pictures, logos from a client's e-mail, screenshots — make them bigger and sharper without leaving WordPress.

* **AI upscaling 2× and 4×** with the Real-ESRGAN model, the same engine as our UZYTAK Upscale app for Android and Windows.
* **Runs in your browser.** The AI model works on your graphics card (WebGPU) or, if there is none, on the processor. The image is not uploaded to any AI service — there is nothing to pay per image and nothing to sign up for.
* **Safe:** the result is saved as a new image in the Media Library. The original stays untouched, title and alt text are copied.
* **Before / after slider** to compare the result before you save it.
* **Save as** the original format, WebP, JPEG or PNG, with a quality setting.
* Open it from **Media → Upscale with AI**, from the "Upscale with AI" link in the Media Library list, or from the button in the image details.
* **10 languages:** Deutsch, English, Español, Français, Italiano, Nederlands, Polski, Svenska, Русский, Українська.

= Privacy =

The plugin makes no requests to other servers. The image is read from your own site and the result is uploaded back to your own site through the WordPress REST API. No cookies, no tracking.

= Requirements =

* A current Chrome, Edge, Firefox or Safari. With a graphics card that supports WebGPU it takes seconds; on the processor a large image can take a few minutes.
* The result must fit your site's upload size limit (shown in Media → Add New). Save big results as WebP or JPEG.

= Third-party components =

* AI model realesr-general-x4v3 from Real-ESRGAN by Xintao Wang et al. — BSD 3-Clause License — https://github.com/xinntao/Real-ESRGAN (converted to ONNX, assets/models/).
* ONNX Runtime Web 1.30.0 by Microsoft — MIT License — https://github.com/microsoft/onnxruntime (unmodified release files, assets/vendor/ort/).

== Installation ==

1. Install the plugin from Plugins → Add New, or upload the zip, and activate it.
2. Go to Media → Upscale with AI, or use the "Upscale with AI" link under an image in the Media Library.

== Frequently Asked Questions ==

= Is the image sent to an AI service? =

No. The AI model runs in your browser. The only upload is the finished result to your own Media Library.

= Why does it take longer on some computers? =

Without WebGPU the model runs on the processor. It still works, just slower. A current Chrome or Edge on a computer with a graphics card is the fastest.

= My images are on a CDN or S3 and cannot be loaded =

Browsers only let the tool read images that come from your site or from a server that allows it (CORS). Download the image and upload it to the Media Library again.

= Is there a limit? =

The result can have up to 64 megapixels (for example 8000 × 8000 px). For bigger images choose 2×.

== Screenshots ==

1. Upscale with AI: choose 2× or 4× and the format.
2. Before / after slider.
3. "Upscale with AI" link in the Media Library.

== Changelog ==

= 1.0.0 =
* First release: AI upscaling 2× and 4× in the browser, before/after slider, save as a new image, 10 languages.
