Skip to content

SethRobinson/Patchy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

616 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Patchy

Open source free image editing.

Think classic Adobe Photoshop CS-style layer editing, modernized: PSD layers, masks, text, blend modes, layer styles, legacy plugins, and current formats like WebP, without subscriptions or telemetry.

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 and Designer files open as layered documents: groups, editable text, effects, and rasters come through

Video

Patchy announcement video on YouTube

The announcement video (recorded around 0.9, so it predates a lot of the features above). More videos land on Seth's YouTube channel.

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 (28 MB)
Windows 10/11 (64-bit) Portable ZIP (no installer) PatchyWindowsNoInstaller.zip (28 MB)
macOS 12+ (Apple Silicon) DMG - drag to Applications PatchyMacOS.dmg (41 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, and native Photoshop PSD data
  • 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 Photo and Designer .af documents as layered files: 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.83 - July 25, 2026

  • The Layers panel got a big cleanup: Mode, Opacity, and Fill share one compact row, the lock buttons sit together on the left, and thumbnails aspect-fit their layer instead of stretching to a square (hidden layers keep full-color thumbnails, and the transparency checker is brighter, like Photoshop's)
  • A new filter box in the Layers panel finds layers by name, including inside collapsed folders. Alt-click a visibility eye to solo that layer and Alt-click again to restore what was visible before, or drag down the eye column to toggle a whole run of layers in one sweep
  • Layer groups can now carry raster masks: Add Layer Mask works on folders, group masks render and round-trip through PSD, and group opacity now composites like Photoshop for both Pass Through and isolated blend modes
  • 16-bit and 32-bit PSD files now open, converting to 8-bit with Photoshop-calibrated conversion
  • Layer style rendering moved much closer to Photoshop: inner glow and inner shadow model Range, Technique, and the Center source; Bevel & Emboss gains calibrated Lambert shading, plain and Pillow Emboss, and correct pillow shading on anti-aliased curves; strokes anchor to subpixel coverage, render Shape Burst gradients, and model Overprint and zero-opacity knockout; gradient overlays match Photoshop's linear, radial, diamond, and conical geometry; interior effects stack in Photoshop's order; and Layer Knocks Out Drop Shadow works
  • PSD compatibility fixes: effect blend modes in Photoshop CS-era files import correctly instead of falling back to Normal, CS4-era shape layers rasterize instead of locking the file, imported text keeps Photoshop's own raster until you edit it (no more substituted-font redraws at load), and layers positioned far off the canvas keep their true position instead of being pulled onto the canvas and re-saved wrong
  • The gradient options bar gained a Presets button with a quick-picker popup, which the Edit Gradient Stops dialog now uses too
  • Affinity .af text imports first-line, hanging, and right paragraph indents
  • Fixes: Reveal in Explorer opens the right folder when the path has spaces, boxed text lines that straddle the frame edge draw whole, and the Script Manager's tree pane no longer cuts off bundled script names

0.82 - July 21, 2026

  • JavaScript scripting is here: scripts drive documents, layers, text, selections, pixels, filters, form dialogs, file pickers, and batch processing through a documented API (patchy.d.ts for machines, a scripting guide under Help for humans), with one undo entry per run no matter how much a script changes
  • The new Script Manager (File > Scripts) puts a folder tree over the bundled and user scripts with per-script icons, names, and hover cards, plus a code editor with syntax highlighting and live run status: spinner, elapsed time, and a stop button. Editing a bundled script saves your own copy, which overrides the original and can be reverted, and New seeds a runnable starter template
  • 20 bundled scripts to use or learn from: CSV data merge, contact sheets, icon export, batch export, versioned saves, layer rename, grid overlays, watermark, play-button overlay, trim to content, duotone, glitch, photo frame, generative art, letter physics, a form-dialog showcase, and playable Breakout, Pong, and Game of Life on real canvases. Scripts can call other scripts with include()
  • Scripts ask for input through patchy.ui.showOptions: a real options dialog with instructions and folder/file pickers in GUI runs, --script-arg overrides from the command line, and the same defaults applied without a dialog when run unattended
  • Scripts can play sound with patchy.ui.playTone and playSound (Breakout and Pong picked up retro blips), a long busy script shows a stop panel with live progress and optional undo of its changes, and the script watchdog measures inactivity rather than total runtime so hour-long batches survive
  • patchy --run-script file.js runs a script against a new or running instance and writes console output to a file, so external tools and AI agents can drive Patchy; the Script Manager's C:\ button shows a copyable command line for any script

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:

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
  • Not tested much yet; expect bugs
  • 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.

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 photo editor focused on PSD compatibility and workflows familiar to Adobe Photoshop users.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages