PaintFE
Free, open-source image editor for Windows, macOS and Linux, built in Rust. Layers, brushes, filters, selections, colour adjustments, animation and scripting, with portable desktop builds, optional feature packs and an experimental web version.
Download the latest release ·
Website ·
Scripting Docs ·
Troubleshooting

24 tools · 25 blend modes · GPU compositing · Rhai scripting · CLI batch processing · local background removal · GIF/APNG/WebP animation · RAW camera support · 26 UI languages
Linux DEB/RPM packaging and signed package repository setup are described in the
Linux installation guide. Packages are available from
the releases page. Arabic includes a bundled font; see
Arabic translation notes for current RTL limitations.

See the changelog for recent changes and the full release history.
Painting and Pixel Art
- Paint: Brush, Pencil, Eraser, Line, Fill, and Gradient. Brush tips, spacing, hardness, flow, opacity, and stroke stabilization, with Normal, Uniform, Build Up, Dodge, Burn, and Sponge modes.
- Select: Rectangle, Ellipse, Lasso, and Magic Wand, with Add/Subtract/Intersect modes. Move pixels or selections, select by color range, or select layer content bounds.
- Retouch and warp: Smudge, Clone Stamp, Content-Aware Brush, Color Remover, Liquify, Mesh Warp, and Perspective Crop.
- Create and navigate: system-font Text, shape primitives, Color Picker, Pan, and Zoom.
- Work pixel by pixel: a Pixel Art preset, configurable pixel-grid appearance, stepped zoom, Fit to Window, and a rebindable 100% zoom action.
- Place pasted images: crop handles, Commit & Crop, optional selection after paste, and edge and center alignment snapping.
Workspace
Light and dark themes, Luminous or Classic icons, and custom icon packs let you choose the look. Floating panels support remembered positions, optional edge and alignment snapping, named layouts, and an easy reset.
The Color panel offers compact Color and Advanced modes with collapsible HSV, RGB, and HSL controls. Palette swatches reflow as you resize the panel, with recent colors and favorites close at hand. The History timeline shows tool icons and compact action details.
Preferences include theme colors, corner radii, spacing, motion, reduced-motion support, and numeric adjustment behavior. Motion can be subtle, expressive, or turned off.
Layers, Filters, and Adjustments
Layer folders, visibility, opacity, masks, and 25 blend modes support layered editing, with undo and redo throughout the workflow.
Adjustments: Auto Levels, Brightness/Contrast, Curves, Exposure, Highlights/Shadows, HSL, Levels, Color Temperature, Color Balance, Vibrance, Gradient Map, Desaturate, Invert, and Sepia.
Filters and effects: Gaussian, Box, Motion, and Bokeh blur; Sharpen, Reduce Noise, Median, Pixelate, Vignette, Glow, Halftone, Oil Painting, Crystallize, Ink, Distort, Noise, Glitch, Drop Shadow, Outline, and Contour.
Recover Transparency helps remove flattened backgrounds, while Make Seamless Texture prepares tileable artwork. Pixel Art Retarget offers palette-aware and structure-preserving image resizing. Toggle live effect previews to compare the original and edited image.
Scripting and Batch Processing
The embedded Rhai engine provides a sandboxed pixel API and live canvas preview. Run scripts in View > Script Editor or process files through the CLI.
apply_desaturate();
apply_brightness_contrast(10.0, 40.0);
apply_vignette(0.5, 0.3);
map_channels(|r, g, b, a| {
[clamp(r + 15, 0, 255), g, clamp(b - 8, 0, 255), a]
});
The API includes pixel access, selections, effects, canvas transforms, color helpers, progress reporting, and math functions. Pixel edits and effects can respect the active selection. See the scripting reference for individual API behavior.
PaintFE -i "shots/*.tif" --script process.rhai --format png --output-dir ./out
PaintFE -i photo.png --format jpeg --quality 90 -o out.jpg
CLI options
| Flag |
Description |
-i / --input |
Input files or glob patterns (required for CLI mode) |
-s / --script |
Path to a .rhai script |
-o / --output |
Output file path for a single input |
--output-dir |
Output directory for batch jobs |
-f / --format |
png, jpeg, jxl, webp, tiff, bmp, tga, ico, gif (static), psd, or pfe |
-q / --quality |
JPEG/lossy WebP quality (1-100, default 90) |
--webp-lossy |
Use lossy WebP; WebP output defaults to lossless |
--tiff-compression |
none, lzw, or deflate |
--flatten |
Raster exports are flattened; PFE and supported PSD output can preserve layers |
-v / --verbose |
Script output and per-file timing information |
Exit 0 means all files succeeded. Exit 1 means at least one failed; remaining files still process. CLI mode is selected with -i or --input and does not open the editor. On Linux, use ./PaintFE if the executable is not on your PATH.
Run PaintFE --mcp to start the separate stdio bridge for a local MCP client. Keep the desktop editor open with local agent connections enabled under Preferences > AI. MCP setup and example
More Screenshots
Dark-mode photo editing and poster scripting
Photo editing in dark mode, with layers and retouching history.

Poster design with the built-in Rhai editor and a completed image-processing script.

Photo sources and artwork details are listed in screenshot credits.
|
Formats |
| Read |
PNG, JPEG, JPEG XL, HEIC/HEIF, AVIF (optional desktop pack), WebP, BMP, TIFF, TGA, GIF, APNG, PFE, PDN, PSD (desktop), and supported camera RAW files |
| Write |
PNG, JPEG, JPEG XL (desktop), HEIC/HEIF (system codec), AVIF (optional desktop pack), WebP, BMP, TIFF, TGA, ICO, GIF, APNG, PSD (desktop), and PFE |
| Animation |
GIF, APNG, and WebP import and export |
PSD supports 8-bit RGB raster layers and simple masks. PaintFE can open the merged preview when it encounters unsupported layer features. PSD export uses lossless compression where it reduces file size. Use PFE to preserve PaintFE-specific editing data.
PFE is PaintFE’s layered project format. Animated export uses each visible layer as a frame, with frame rate, loop count, and format-specific compression options in the export dialog.
JPEG XL supports still images with lossless or lossy compression and an encoding-effort setting. Native exports preserve 8-bit and supported 16-bit RGBA data, including transparency. JPEG XL import is built in. Desktop export uses an optional offline encoder pack installed through Preferences > Optional features. See JPEG XL details for limits and CLI options.
HEIC/HEIF uses installed system codecs: Windows HEIF/HEVC extensions, macOS ImageIO, or Linux libheif. PaintFE does not bundle or download an HEVC codec. Available image variants and save options depend on the installed codec. AVIF import and export use a signed optional offline pack. See HEIC and AVIF for setup and limitations.
RAW decoding uses rawloader and imagepipe. Recognized extensions include CR2, CR3, NEF, ARW, DNG, ORF, RW2, SRW, PEF, and RAF; decoding depends on the camera and file variant.
Paint.NET PDN import requires the compatibility host. Projects are imported as raster layers with names, visibility, opacity, and supported blend modes. Save opens Save As so the imported project can be stored as PFE or exported without overwriting the source PDN.
Optional Integrations
Portable Storage
Windows EXE and Linux builds store preferences and paintfe.log beside the executable by default. Autosaves, scripts, effects and imported plugins live in paintfe_data/. Keep that folder and paintfe_storage.cfg with the executable when moving the installation.
Edit > Preferences > General > Storage switches between portable and user-profile storage after restart. Migration retains the source data; conflicting destination files require an explicit replacement choice and receive backups. Existing profile preferences are imported on the first portable startup. Unwritable installation directories, such as /usr/bin, fall back to the user profile with an explanation. Resources selected inside a portable installation are saved as relative paths; external resources retain absolute paths.
Preferences > Interface also controls whether middle-click closes document tabs. It is enabled by default and uses the usual save/discard/cancel prompt for unsaved documents.
Local Background Removal
Background removal runs locally through ONNX Runtime. Images are processed on your machine without cloud uploads or API calls.
Supported model families are BiRefNet, U2-Net, and IS-Net (DIS). Open Edit > Preferences > AI and select an ONNX Runtime library and model file. Versioned Linux runtime libraries are also accepted. Graph optimization can be All (default), Basic or Disabled. The CPU memory arena is disabled by default to reduce retained intermediate allocations. Older BiRefNet exports can still need several GB during inference even for a small source image, because their model input is fixed at 1024 × 1024. Prefer newer official exports when compatible with your runtime; PaintFE does not substitute models or change fixed input dimensions. Model links are available in Preferences; runtime downloads are available from ONNX Runtime releases.
Open View > Community add-ons to browse script effects, themes and icon packs. Fetching the catalogue and installing a pack connects to GitHub only when requested. Installed effects run offline. The browser includes search, Favourites, local imports and appearance previews with Keep and Restore. Create reusable effects through the Script Editor, with native controls and protected cancellation. See the pack guide and community repository for installation and authoring instructions.
Optional MCP agent control is under Preferences > AI, with separate connection, editing and script permissions. It starts disabled. A compatible external client can inspect previews, paint, work with basic layers and selections, undo changes and run bounded raster scripts. PaintFE includes no AI model, and a cloud client may send requested previews to its own provider. See setup, tools and limits.
Glass appearance is under Preferences > Interface. Configure desktop transparency, surface colours and borders, with optional native background blur where supported. Glass Dark uses charcoal surfaces; Glass Light uses pearl-white surfaces. Appearance changes do not alter exported image pixels. See the glass guide.
Paint.NET Legacy Plugins (Experimental)
PaintFE supports a limited profile of classic Paint.NET 3.5 CPU effect plugins through an optional out-of-process .NET host. Open Edit > Preferences > Plugins, import a DLL, and explicitly trust it. Supported plugins use PropertyBasedEffect with standard numeric, boolean, or list properties.
Modern Paint.NET GPU effects, file-type plugins, and custom WinForms dialogs are unsupported. Plugin DLLs are executable programs: the host isolates crashes but is not a security sandbox. Only import plugins from authors you trust. PaintFE does not contain or redistribute Paint.NET binaries.
Responsiveness
PaintFE uses GPU compositing, incremental texture updates, shared image tiles, and lightweight undo records to reduce unnecessary work. CPU filters and image operations use Rayon where appropriate, while larger brush dabs can process independent chunks in parallel.
Interaction improvements include reduced UI layout work, cached icon rendering, fewer settings writes, and configurable low-latency presentation. Performance depends on image size, layer count, brush settings, effects, and hardware.
Building from Source
The repository’s rust-toolchain.toml pins the Rust toolchain. Install Rust through rustup and the platform requirements below.
git clone https://github.com/kylejckson/PaintFE.git
cd PaintFE
# Debug build
cargo build
# Optimized build
cargo build --release
# Run the editor
cargo run --release
The release executable is target/release/PaintFE on Linux and macOS, or target/release/PaintFE.exe on Windows.
Windows: use the MSVC Rust toolchain with Visual Studio C++ Build Tools and the Windows SDK. The build script embeds the application icon using winresource.
Linux: source builds require development libraries for GTK, X11/Wayland, graphics, and OpenSSL. The Ubuntu packages used by release CI are listed below. These are build requirements; packaged downloads have different runtime requirements.
Ubuntu build dependencies
sudo apt-get install -y \
libgtk-3-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev \
libxkbcommon-dev libvulkan-dev libwayland-dev libegl1-mesa-dev \
libssl-dev pkg-config
macOS: install the Xcode command-line tools and the matching Rust toolchain for your architecture.
The optional Paint.NET compatibility host is built separately with the .NET 8 SDK. See its README for instructions.
Main dependencies
| Crate |
Purpose |
eframe / egui |
Immediate-mode GUI framework |
wgpu |
GPU rendering and compute |
rayon |
CPU parallelism |
rhai |
Embedded scripting engine |
image |
Image codecs |
rawloader / imagepipe |
Camera RAW decoding and processing |
arboard |
System clipboard |
libloading |
Dynamic ONNX Runtime loading |
clap |
CLI argument parsing |
bytemuck |
GPU buffer casting |
serde / bincode |
Project serialization |
See Cargo.toml for versions and the complete dependency list.
Documentation
Start with the user manual. The repository also includes
a quick start, focused guides and developer notes,
local AI setup, and a Warp and Liquify guide.
Project background
PaintFE started with a free month of GitHub Copilot from a friend and a question: could I build an image editor inspired by Paint.NET with its help? As a software engineer, I was curious, but didn’t expect it to get very far. It gave me something worth continuing, and I’ve kept developing and refining it since.
AI coding tools have become a substantial part of how I work on PaintFE. I spend a lot of time planning features, designing the interface, experimenting with different approaches, and refining the details through repeated iteration. That work includes hands-on coding and testing throughout development.
I recognise that AI’s place in creative work is a sensitive subject. I want to be open about its role in the development process and respectful of the people who choose to use PaintFE.
Contributing and Translations
Bug reports, feature requests, translations, and pull requests are welcome. See CONTRIBUTING.md for development setup and contribution guidelines.
26 locales ship built in and can be switched through Preferences > Interface > Language: English, Arabic, German, French, Spanish, Brazilian Portuguese, European Portuguese, Italian, Russian, Ukrainian, Czech, Romanian, Belarusian, Polish, Dutch, Turkish, Japanese, Simplified Chinese, Traditional Chinese, Korean, Indonesian, Vietnamese, Thai, Hungarian, Bogan English, and Fancy English (FE). All catalogs cover the current English interface keys. Thai and Arabic font fallbacks are bundled. Chinese, Japanese and Korean use suitable system fonts or an optional font pack. Installed packs work offline; downloading one requires an explicit request. Translation improvements from fluent speakers are welcome.
Use Preferences > Interface > Language > Customize interface labels to search for interface text and change its wording in the selected language. Changes are personal overlays, survive updates, and can be reset or shared without rebuilding PaintFE. See personal labels.
To add a translation, copy locales/en.txt, translate the values without changing keys, and name the file with its BCP-47 code, such as ko.txt.
FAQ
Is it really free?
Yes. PaintFE is MIT licensed, with no subscription, account requirement, telemetry, or feature gates. Use it commercially, fork it, or redistribute it.
Does it work on macOS?
macOS builds are available on the releases page. They are unsigned and not notarized, so Gatekeeper may require you to approve the first launch. See troubleshooting for help.
Why is it called PaintFE?
FE is the periodic table symbol for iron. It’s built in Rust. That’s the joke. Call it whatever acronym you want.
License
MIT. Bundled font licenses and screenshot credits accompany their respective assets.
Built in Rust. Free forever. Made by Kyle and contributors.
评论