Skip to content

Repository files navigation

Patchy Image Editor

Patchy is a free, open-source image editor for Windows, macOS, and Linux, built for accurate PSD and PSB editing and round trips with Adobe Photoshop. It supports editable text and vectors, masks, layer styles, Smart Objects and Smart Filters, legacy 8BF plug-ins, JavaScript scripting, and command-line automation.

Screenshots

Click a thumbnail for the full-size image.

Levels adjustment dialog over an image with a live histogram and input and output controls
Non-destructive adjustment layers with live preview and editable settings
Layer Style dialog applying bevel, stroke, glow, and shadow effects to text
Layer styles with multiple effects, blending controls, and Photoshop-compatible presets
Brush Tip Manager showing a collection of textured and shaped brush presets
Brush tip presets, import, management, spacing, angle, roundness, and texture controls
Brush Dynamics dialog with pressure and random controls beside a varied brush stroke
Pressure-aware brush dynamics for size, opacity, flow, angle, scatter, and color
Palette editing mode with a limited color palette and indexed-looking pixel art
Palette mode constrains painting and editing to a document color set
Hue and Saturation adjustment dialog editing a colorful photograph
Live color adjustments, including targeted Hue/Saturation ranges
Warp Text dialog with the style list open over a poster with arced rainbow text and flag, fisheye and twist warped words
Warp Text with live preview: all 15 Photoshop warp styles on editable rich text
Pixel-art grass and path tile repeating across the whole canvas in seamless tiling mode, with a painted black line wrapping across every tile edge
Seamless tiling mode for game textures: paint on the canvas and strokes wrap live across every tile
Game title art with a smart object mid warp transform showing the Bezier cage, and its embedded contents open in a second tab
Smart Objects: Warp Transform bends them non-destructively, Edit Contents opens the embedded file in its own tab
Pattern Manager showing the Textures folder with the bundled CC0 Weathered Marble photo texture selected in the large preview
Photo textures in the Pattern Manager, with full-resolution preview, import, organization, and editing
Photo with a Smart Filter stack containing Surface Blur, Dust and Scratches, and Gaussian Blur plus a shared mask
Editable native Smart Filters with one paintable shared mask and per-filter controls
Camera Raw develop dialog showing a snowy mountain photo with white balance, tone, color, and detail controls
16-bit Camera Raw development with white balance, tone, color, demosaic, and denoise controls
Tilt-Shift Blur in the Filter Gallery over a real San Francisco city photograph with draggable focus controls
Tilt-Shift Blur with live on-image focus, angle, and transition controls
Layer Style dialog applying Riveted Steel to large text from the built-in Materials preset folder
Material layer styles backed by bundled CC0 wood, stone, metal, fabric, and ground textures
Quick Mask mode showing a clean feathered portrait-frame selection as a red overlay with the temporary Quick Mask channel visible
Quick Mask turns a selection into a brush-editable red overlay, then back into marching ants
Flat vector sunset poster built from shape layers, with Direct Select showing a mountain ridge's anchors and the Paths panel floating beside the canvas
Vector shape layers: gradient fills, pen paths, anchor editing, and the Paths panel
Shape Appearance dialog editing a rounded-rectangle badge with a Golden Hour gradient fill, dashed stroke, and per-corner radius controls, beside a star with a rust pattern stroke
Shape fills and strokes: solid, gradient, or pattern paint, dashes, and live corner radii
CC0 hot air balloon SVG clip art opened as editable shape layers with group folders in the Layers panel and the big balloon's bezier anchors selected on canvas
SVG files open as editable shape layers: groups become folders, paths stay live vectors
Script Manager running the bundled Breakout script, with breakout.js code, live run status, and stop button beside the game playing on a real document canvas with brick, paddle, and ball layers
Script Manager running the bundled Breakout: the game plays on a real canvas, with live run status and one-click stop
Duotone script options dialog with instructions, shadow and highlight color fields, and a contrast slider over a photo already remapped to navy and amber
Scripts ask with real options dialogs; the same script runs unattended from the command line with the same defaults
Affinity Photo document open in Patchy as a layered file, the Layers panel showing groups, text layers with effect badges, and raster layers
Affinity Photo, Designer, and Publisher files open as layered documents: groups, editable text, effects, and rasters come through

PSD compatibility, measured

Patchy is tested against Adobe Photoshop 2026 on a mixed PSD corpus. In the paused July 28, 2026 Testy snapshot, Patchy had the strongest open-source render result, Photoshop reopened all 260 Patchy saves, and 1,438 of 1,439 text objects remained editable.

Tested editor Perceptual render match PSD saves rejected by Photoshop Text still editable in resaved PSD
Patchy d5a5ed0 99.57% 0 / 260 1,438 / 1,439
Photopea, web build 99.77% 1 / 259 1,417 / 1,439
GIMP 3.2.4 95.78% 0 / 259 0 / 1,439
Affinity 3.2.3.4646 95.24% 0 / 258 0 / 1,434
PhotoDemon 2026.01.0251 94.56% 0 / 258 0 / 1,403
Krita 5.3.2.1 89.54% 97 / 259 663 / 1,439

The text column counts original text objects that Photoshop still recognizes as editable text after reopening the editor's PSD save. It does not identify whether conversion happened during import or export.

These are corpus-specific results from an unfinished run, not universal product ratings. See the full results and methodology, including tested versions, native PSD data preservation, Photoshop round-trip rendering, and known limitations.

Download

Windows releases are code signed by Seth A. Robinson; the macOS app is signed and notarized (Robinson Technologies Corporation).

Platform Package Download
Windows 10/11 (64-bit) Installer PatchyWindowsInstaller.exe (33 MB)
Windows 10/11 (64-bit) Portable ZIP (no installer) PatchyWindowsNoInstaller.zip (33 MB)
macOS 12+ (Apple Silicon) DMG - drag to Applications PatchyMacOS.dmg (44 MB)
Linux Flatpak bundle PatchyLinux.flatpak (14 MB)

Linux one-line install (paste into a terminal; fetches the bundle and installs it, pulling the shared KDE runtime from Flathub automatically):

curl -L -o /tmp/PatchyLinux.flatpak https://rtsoft.com/files/PatchyLinux.flatpak && flatpak install -y /tmp/PatchyLinux.flatpak

Optional: opening iPhone HEIC photos on Linux uses the shared Freedesktop codec extension, which bundle installs do not fetch on their own. Patchy will show this command if it is needed:

flatpak install -y flathub org.freedesktop.Platform.ffmpeg-full//24.08

Features

  • Open and save layered PSD and PSB files with groups, masks, clipping masks, saved alpha and spot channels, text objects, Fill Opacity, the full Photoshop blend mode set, layer styles and more
  • Common raster editing tools, including Brush with Flow and timed Airbrush buildup, Healing Brush, Clone Stamp, Dodge, Burn, Sponge, Blur, Sharpen, Smudge, Eraser, selections, transforms, gradients, and shapes
  • Vector tools: Pen paths, editable shape layers (Rectangle, Ellipse, Line, Polygon, Custom Shape) with solid, gradient, or pattern fills and strokes, vector masks, path selection and anchor editing, and a Paths panel with fill, stroke, and make-selection commands, all round-tripping through PSD files that open correctly in Photoshop
  • Non-destructive adjustment layers (Levels, Curves, Hue/Saturation, Color Balance, Brightness/Contrast, Invert, Posterize, Threshold) with live preview, editable settings, native Photoshop PSD data, and .acv Curves preset import and export
  • Smart Objects: place or convert layers to embedded or linked smart objects, edit or replace their contents, transform them non-destructively, and build editable native Smart Filter stacks (13 filter types) with paintable shared masks and per-filter blending
  • Filter Gallery with 32 effects, live full-resolution preview, ordered effect stacks, favorites, and reusable Saved Looks, plus a manual Liquify workspace with warp, twirl, pucker, bloat, and freeze brushes
  • Photoshop-compatible layer style, pattern, and gradient preset libraries, including .asl, .pat, and .grd import/export, 39 built-in styles, and 20 bundled CC0 photo textures
  • Warp Transform tool and Warp Text with all 15 Photoshop warp styles and live preview
  • Multiple document interface: tabbed documents that can float in their own windows, with Photoshop-style Tile and Cascade arrangement
  • Rich text with per-run color, font, size, and style, plus a searchable font picker and Character controls for leading, tracking, and horizontal or vertical glyph scaling
  • Palettized (indexed color) editing mode for pixel art: paint constrained to a palette, quantize with optional dithering, built-in retro palettes (NES, C64, Game Boy, PICO-8, and more), palette files (.pal/.gpl/.hex/.act/.aco/.ase), and exact indexed PNG-8 and 2/4/8-bit BMP export. Layers, layer styles, and effects all keep working (Photoshop's indexed mode flattens and disables them)
  • Pixel-art and game-dev extras: seamless texture authoring (live tile preview window, in-canvas tiling mode, seam shifting), sprite sheet export/import, image sequence export/import (numbered files become layers and back), and nearest-neighbor scaled export (2x-8x)
  • Reads and writes a wide range of formats: PSD/PSB, PNG, JPEG, TIFF, WebP, BMP, TGA, GIF, PCX, Amiga IFF/LBM, Windows icons and cursors (ICO/CUR), Aseprite files, and SVG (opens as editable shape layers, exports with vectors preserved)
  • Imports Affinity documents as layered files: the current .af format, Affinity 2 .afphoto/.afdesign/.afpub, and most Affinity 1.x-era files, bringing across rasters, groups, masks, clipping, blend modes, editable text layers, vector shapes, adjustment layers, layer effects, and placed images (which become embedded Smart Objects)
  • Opens camera raw files (CR2/CR3/NEF/ARW/RAF/DNG and more) through a 16-bit develop dialog, and HEIC/HEIF photos through platform codecs
  • Photoshop-compatible document resolution, physical measurement units, rulers, image sizing, and printing
  • Pen/stylus pressure and size dynamics, GUI scaling, scanner import (Windows and macOS), camera import (Windows), legacy .8bf plugins, and command line options
  • JavaScript scripting: a built-in Script Manager (File > Scripts) with a folder tree over the bundled and user scripts, a code editor with live run status, a documented API covering documents, layers, text, selections, pixels, filters, form dialogs, file pickers, and batch processing, bundled examples ranging from CSV data merge, contact sheets, icon export, and versioned saves to glitch/duotone effects and playable Breakout and Pong (scripts can call other scripts), safe editing of bundled scripts (your saved copy overrides the original and can be reverted), and a --run-script command line flag with script arguments so external tools and AI agents can drive Patchy. See the scripting guide (also under Help inside the app)
  • Cross-platform: Windows is the lead platform, with native macOS (Apple Silicon) and Linux (Flatpak) builds
  • Built with C++ and Qt for a native desktop experience. No GPU used, should run on a potato
  • Privacy: YES! Absolutely no telemetry, no tracking, no data collection (if update checks are enabled, it contacts GitHub only to check for a newer version). Settings live in a plain local file, and the installer doesn't screw with your file extension preferences
  • Localized in English and Japanese (change language in File->Preferences)

What's New

0.86 - July 29, 2026

  • Affinity import got much wider. Affinity 2's .afphoto, .afdesign, and .afpub documents open now, alongside the current .af format and most Affinity 1.x-era files. Parametric shapes import as real editable shapes down to the long tail (stars, triangles, smoothed polygons, diamonds, pies, crescents, hearts, arrows, cogs, clouds), together with compound-shape booleans, Designer symbols, artboards, and scene-graph transforms
  • Affinity fidelity work: vector masks arrive as native vector masks, stroke line style, alignment, dashes, and miter limit come through, crop containers become masked groups so a hidden crop stays hidden, Affinity-only blend modes render through their closest equivalent with a notice, and the Erase blend mode folds into an isolated group with an inverse-alpha mask, which is how PSD stores that construction natively
  • Layer styles work on groups. A folder can carry effects, they render through the same Photoshop-calibrated pipeline as layers, and the Layer Style dialog opens from a group row or its fx badge. The old warnings about group effects being unsupported are gone
  • The Dissolve blend mode is in, on layers, groups, adjustment layers, and effects, and it round-trips through PSD
  • Fill opacity is bit-exact against Photoshop for Vivid Light, Linear Light, and Hard Mix, the three modes that treat Fill specially
  • Brightness/Contrast now models Photoshop's modern algorithm alongside the legacy one, so files carrying modern settings render, edit, and save back correctly
  • Large documents feel much better in the Layers panel. On a 622-layer file, expanding a folder went from 2.1 seconds to 0.45, and closing the Layer Style dialog went from 8.2 seconds to 0.5
  • Shape strokes no longer grow spikes at sharp corners when anchor points land off the pixel lattice
  • PSD compatibility is measured instead of asserted. The top of this README now shows how Patchy scores against Photoshop 2026 on a mixed PSD corpus, with Photopea, GIMP, Affinity, PhotoDemon, and Krita run through the same tests

0.85 - July 27, 2026

  • Layer styles blend the way Photoshop does now. A layer's blend mode applies to its own pixels alone unless Blend Interior Effects as Group is on, and exterior effects contribute against the backdrop instead of under the layer, so glows and shadows keep their weight along anti-aliased text. Color, Gradient, and Pattern Overlay fold into the layer color rather than painting over the composite, so an opaque overlay hides the fill beneath it and layer opacity is no longer applied twice
  • Damaged PSD files open instead of being refused: corrupt scanlines are recovered row by row, with an import notice saying how many came back, and legacy files that carry Photoshop's separate real user mask channel read correctly instead of arriving truncated

Older releases

Building it yourself

Build the dependency-light core and tests without the Qt app:

cmake --preset dev -DPATCHY_BUILD_APP=OFF
cmake --build --preset dev
ctest --preset dev

Build the Qt desktop app:

cmake --preset qt-local
cmake --build --preset qt-local

The local Qt app preset writes patchy.exe under build/app.

Run the standard local test script:

powershell -ExecutionPolicy Bypass -File scripts/run-tests.ps1

macOS and Linux

Install Qt 6.8.3 into .deps/Qt (for example pip install aqtinstall && aqt install-qt mac desktop 6.8.3 -m qtimageformats -O .deps/Qt, or linux desktop 6.8.3 linux_gcc_64 on Linux), then build the matching preset:

cmake --preset mac-release      # or linux-release
cmake --build --preset mac-release

macOS produces build/mac-release/Patchy.app; Linux produces build/linux-release/patchy. packaging/macos/make-dmg.sh and packaging/linux/make-flatpak.sh create the distributable artifacts. Both test suites run offscreen on all three platforms (QT_QPA_PLATFORM=offscreen).

Windows Release Package

Create local Windows release artifacts:

scripts\release\build-release.bat

The script configures and builds the release preset, signs build\release\patchy.exe, the installer helper executables, and the installer when the local signing environment is available, deploys the minimum Qt runtime needed by the current app, copies third-party notices, and creates:

build\package\PatchyWindowsNoInstaller.zip
build\package\PatchyWindowsInstaller.exe

The zip contains a top-level Patchy folder so it can be dragged anywhere and does not include installer-only helpers. The installer is a local per-user installer that installs to %LOCALAPPDATA%\Programs\Patchy, creates a Start Menu shortcut, offers a desktop shortcut, and registers an uninstall entry. latest_version.json is the update metadata file.

Current Status

Patchy is not Photoshop-compatible across the full PSD surface yet, but a round-trip from/to Photoshop mostly works with RGB/RGBA 8-bit documents that use basic pixel layers, text objects, groups, masks, blend modes, layer styles, and the currently supported adjustment layers.

Important Photoshop features that are not supported yet, or are only partially supported:

  • Editable Smart Filters cover 13 filter types with paintable shared masks and per-filter opacity and blend modes; unsupported imported filter types (including the Blur Gallery and Liquify smart filters) remain preview-locked and byte-preserved
  • Full Photoshop adjustment-layer compatibility beyond Patchy's current adjustment support
  • CMYK/Lab editing and export, editable spot separations and RGB component channels, multi-channel overlays, 16/32-bit editing, HDR/EXR, and full color-management parity (Patchy converts CMYK/Lab to RGB on open, but does not edit or save in those color modes)
  • Layer comps, timeline/video/animation workflows, content-aware tools, and generative tools
  • Photoshop's own automation surfaces: Actions (.atn), UXP/JSX panels, and scripts written for Photoshop (Patchy has its own JavaScript scripting and batch processing instead, see above)
  • High-fidelity PSD/PSB edge cases, including layered PSB writing and byte-perfect preservation of every Photoshop-only metadata block
  • Patchy is slower than Photoshop, especially on large documents and it doesn't support GPU acceleration at all. However, being CPU only helps with porting and stability so kind of a trade-off that makes sense, for now. That said, certain operations have been optimized for multicore - canvas compositing and image flattening are multithreaded, splitting large images (4 Mpx+) into strips rendered on all CPU cores.

Affinity import

Patchy opens Affinity documents read-only: the current .af format ("Affinity by Canva"), the Affinity 2 formats (.afphoto, .afdesign, .afpub), and most Affinity 1.x-era files. Raster layers (including 16-bit, float, CMYK, and Lab documents), groups, masks (raster and vector), clipping, blend modes, opacity, editable text with per-run styles, vector curves, parametric shapes (rectangles, ellipses, polygons, stars, triangles, diamonds, trapezoids, pies, segments, crescents, hearts, tears, arrows, double and square stars, cogs, clouds), compound-shape booleans, Designer symbols, artboards, layer effects, supported adjustment layers, and placed images (which become embedded Smart Objects) all import, verified against Affinity's own renders and a wild-file corpus that includes real Affinity 2 documents from all three apps. Vector fills and strokes keep their width, alignment, dash pattern, and miter limit, crop-to-shape containers come in as masked groups, and the Erase blend mode imports as an isolated group with an inverse-alpha mask, which is how PSD stores that construction natively. If a file can't be imported as layers, Patchy falls back to its embedded preview instead of failing the open, and an import notice explains what was skipped.

Affinity features that are not supported yet, or are only partially supported:

  • Saving to Affinity formats (import only; save your edits as PSD)
  • A few parametric shape kinds (callouts, spirals, QR codes, circle-rounded stars, and exotic arrow ends) import as named placeholders
  • Adjustment layers beyond the eight kinds Patchy models, and live filters, import as named empty placeholders; Brightness/Contrast and Color Balance import approximately
  • Affinity-only blend modes render through their closest Photoshop-compatible equivalent with a notice (Average matches exactly at half opacity; Negation, Reflect, Glow, and Pigment approximate; Contrast Negate falls back to Normal)
  • Bevel/Emboss and glow effects are approximated; Gaussian blur layer effects bake into the layer pixels (they render correctly but are no longer live)
  • Rotated or sheared frame text renders without its rotation (artistic text rotates correctly)
  • Multi-page documents open the first page only
  • Affinity 1.x-era files: embedded-document placement can land slightly off

License

Patchy is released under the MIT License. Third-party runtime notices are tracked in NOTICE-THIRD-PARTY.md.

Trademark Notice

Adobe and Photoshop are either registered trademarks or trademarks of Adobe in the United States and/or other countries. Patchy is an independent project and is not authorized, endorsed, or sponsored by Adobe. References to Photoshop and its file formats (PSD, Smart Objects, Smart Filters) are only there to describe compatibility.

AI Disclosure

This project was developed with significant assistance from AI tools. I mean, you can still blame me (Seth) for bugs, but I just wanted to mention it.

Note: All included textures/materials are real images taken by humans, not AI generated

Missing features?

AI has reached the point where you can use your favorite AI to add the missing feature you want.

Just give it the link to this repo and say "Add .tiff support" and in about 10 minutes it will be done and working on your computer. Amazing, right?

I mean, that's kind of the power of open source.

Whatever AI you use, tell it (or more likely, it is reading this right now) to read AGENTS.md before doing anything else. It contains the build and repository-wide rules, then routes feature work to the relevant document under docs/.

There are 1000+ regression and benchmarking tests. AGENTS.md links agents to the testing guide that explains how to select and run them.

If you have a bug fix or feature you think should be in this repo, please look at the actual code and fully TEST IT YOURSELF before submitting the PR. If you're using AI, use a good one (Fable+ class), we don't want barely working slop.

I probably don't want any major features coming from outside, as there are wrong and right ways to do things, some of it a bit subjective. Remember, you can always go crazy in your own fork, have some fun!

Don't trust AI to create and submit PRs with no oversight, I'll delete ones that have too much AI smell. Smell human. This is starting to sound weird but you know what I mean.

Also, note that certain features are crippled or not included due to Adobe patents. For example, our "quick select" tool doesn't update in realtime, you have to finish the stroke. We can revisit this around 2030 when the patents expire...

Credits

Created by Seth A. Robinson - Homepage | Blog | Twitter | Bluesky | Mastodon

Code contributions from Michael Capogna

Photo "akiko_cycling_okinawa" (seen in the screenshots) by Seth A. Robinson

About

Open-source image editor focused on PSD compatibility and workflows familiar to Adobe Photoshop users.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages