=== Pixlio – Image Editor ===
Contributors: ikedajapn
Tags: image editor, media library, crop, image, photo
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 0.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Edit images in your WordPress dashboard with text, layers, crop, resize, adjustments and PNG/JPEG export.

== Description ==

Pixlio – Image Editor adds a dedicated image workspace to your WordPress administration.
Image editing runs locally in your browser. No external AI, API key, account or paid image-processing service is needed.

* Browse, search and sort your WordPress images; show Studio saves separately.
* Open WordPress media or an image from your computer.
* Crop, resize, rotate and add editable text.
* Compose image/text layers; change order, visibility, position and opacity.
* Merge visible layers to make space for new layers.
* Adjust brightness, contrast and saturation; use monochrome, warm and vivid presets.
* Undo/redo up to 30 operations. Large bitmap histories may keep fewer steps to reduce memory use.
* Save a new PNG or JPEG to WordPress, or download it to your computer.
* Light/dark theme and Japanese, English, Simplified Chinese, Korean and Spanish interface. Choose automatic site-language detection or a manual language in Settings. WordPress gettext language packs are supported, with bundled translations as fallback.

The original image is never overwritten. Images are saved as flattened copies.
Project/layer persistence across browser sessions is not included in this edition.

Input: PNG, JPEG, WebP and GIF. Animated images are flattened to one still frame.
Output: PNG and JPEG. JPEG transparency becomes white.
Limits: 8192 pixels per side, 24 megapixels, 20 MB per source/output or the lower WordPress upload limit. A powerful desktop browser is recommended for large images.
Cloud-only/offloaded source files with no local copy are not supported in 0.1.0.
Non-proportional canvas resizing retains the text's aspect ratio; use the text size control to refine typography.

Privacy: image pixels are processed in the browser. Loading/saving uses your own WordPress site and its configured media URLs. No telemetry, external scripts, external fonts or AI service is included.

= 日本語 =

WordPress管理画面に画像編集専用の「Pixlio – Image Editor」を追加します。
メディアライブラリの画像、またはパソコンの画像を読み込み、トリミング・リサイズ・回転・文字入れ・色調補正ができます。
画像・文字のレイヤーを重ねて編集できます。PNG/JPEGとしてダウンロード、またはWordPressに新規保存します。元画像は変更しません。
プラグイン一覧の「設定」から、WordPressのサイト言語に自動追従、または日本語・英語・簡体中文・한국어・Españolを選択できます。初期保存形式・JPEG画質・初期テーマも設定できます。未対応のサイト言語は英語になります。

レイヤーを維持したプロジェクト保存、背景透過ツール、ブラシ、PSD、WebP書き出しは含まれません。
未保存で離れる際に確認しますが、ブラウザの強制終了からの自動復元はありません。
色調補正は50%が元画像、100%が最大補正です。各辺8192px・2400万画素以内、画像容量20MB以内（読込・保存時はWordPressの上限も適用）で使用してください。
レイヤー数の固定制限はありませんが、大きな画像や多数のレイヤーでは動作が重くなるため、必要に応じて統合してください。
入力はPNG/JPEG/WebP/GIF、出力はPNG/JPEGです。アニメーションは静止画になり、JPEGの透明部分は白になります。
最大30操作の履歴を保持しますが、大きな画像では少なくなる場合があります。クラウドにしか元画像がないメディアには未対応です。
WordPressへの保存にはGDまたはImagickなど、対応した画像処理環境が必要です。

== Installation ==

1. Upload pixlio-image-editor-0.1.0.zip at Plugins > Add New > Upload Plugin.
2. Activate Pixlio – Image Editor.
3. Open Pixlio – Image Editor from the administration menu.
4. Choose a media image, a local file or a blank canvas.
5. Edit and choose Save / Export. Save a new image to WordPress or download it.

Required capability: upload_files. Existing images also require edit_post for the attachment.
WordPress image processing (GD or Imagick) must support the selected save format.

== Frequently Asked Questions ==

= Is the original image changed? =
No. Save creates a new attachment. Existing posts and images remain unchanged.

= Are layers kept after saving? =
No. PNG/JPEG files contain the rendered result. Layer editing and undo remain available only in the current editor session.

= Is there a layer-count limit? =
There is no fixed layer-count limit. Available browser memory and device performance determine practical capacity. Large compositions may be slow; merge layers when appropriate.

= Does it contact a third-party service? =
No processing service is used. Media URLs may follow your site's existing CDN configuration.

= Is this equivalent to a professional desktop editor? =
No. Version 0.1.0 focuses on practical image editing for WordPress. PSD, masks, advanced selections, blend modes and project persistence are not included.

== Changelog ==

= 0.1.0 =
* Initial free release: image dashboard, layered canvas, text, crop, rotate, resize, basic adjustments, PNG/JPEG export and new-attachment saving.

== Development ==

All application source is included in assets/engine.js, assets/studio-controls.js, assets/studio.css, pixlio-image-editor.php, settings.php and i18n.php. No compilation or external dependencies are required.
The rendering engine is original code using Canvas 2D. No third-party image-editor library is bundled.
