Back to Articles

2026-11-30

BrushCue 1.4.20 Release Notes

By Anthony Dito

Blends take two arguments, painted illustrations can be edited and rebuilt, scripts can list the files in a folder, and 33 new tools are on the website.

BrushCue 1.4.20 builds on the painter work from 1.4.15. In 1.4.15 you could take a painter apart and read each painted illustration. Now you can change those illustrations and put them back. Blends also get simpler: they take two arguments instead of three, and moving a layer is done with transform. Scripts can list the files in a folder, SVG export now writes plain shapes that more apps can open, and 33 new tools are on the website.

Blends Take Two Arguments

Every blend used to take a foreground, a background, and a transform for the foreground. Most scripts passed Transform2::identity() because they didn't want to move anything. The transform argument is now removed from blend_alpha, blend_add, blend_multiply, blend_subtract, blend_max, blend_min, blend_stencil, and the nonlinear RGB alpha blend, in BrushCue Script, the bcue command line tool, and the Python API.

If you passed the identity transform, delete it:

// Before
filtered.blend_alpha(input_image, Transform2::identity())

// After
filtered.blend_alpha(input_image)

If you passed a real transform, apply it to the foreground with transform before blending:

// Before
Composition::blend_alpha(parasol, backdrop, image_transform)

// After
Composition::blend_alpha(parasol.transform(image_transform), backdrop)

The result is the same, and moving a layer now looks the same everywhere in a script, whether or not it is blended afterward.

Edit Painted Illustrations

BrushCue 1.4.15 added operations to read the parts of a painted illustration: its shape, render style, and instance transforms. This release adds the matching operations to change them. Each one returns a copy with one part replaced:

Together with to_painted_illustrations and from_painted_illustrations, you can now restyle a painter after it is built. Here, every shape in an existing painter is redrawn in one ink color:

ink = ProfiledColor::from_srgb_hex("#1F3A5F")
style = RenderStyle::brush_only(Brush::solid(ink, 3.0))
fn restyle(illustration: PaintedIllustration) => PaintedIllustration {
    illustration.with_render_style(style)
}
Painter::from_painted_illustrations(painter.to_painted_illustrations().map(restyle))

The same pattern works with the path command operations from 1.4.15. Read a path with illustration.path(), change its commands, and put it back with with_path.

List the Files in a Folder

The new ListDirectory operation (path.list_directory(recursive)) returns the paths of the files in a folder as a list of strings. Paths are relative to the project root, so the result can be passed straight to operations like Composition::from_path. Use "" or "." for the project root, and set recursive to true to include files in subfolders.

"assets".list_directory(false)

This works in the bcue command line tool and in the BrushCue editor, which also now shows lists of strings on the canvas so you can see the result.

Simpler SVG Export

SVG export from 1.4.15 defined each shape once and drew it with <use> references. Some apps can't follow those references, so painter.to_svg() now writes one plain SVG element for each instance of each illustration. The rotation of rectangles and ellipses is folded into each element's transform. Files with many repeated shapes are a bit larger, but they open correctly in more vector editors.

New Tools

Since 1.4.15, 33 new tools have been added to the BrushCue website. Each one is a BrushCue Script you can open in the editor and change.

Artist-inspired filters. Ten photo treatments inspired by historical artists, covered in more detail in Introducing Ten Artist-Inspired Photo Filters:

Blur, sharpen, and print effects. Nine effects, explained in Tilt-Shift, Lens Blur, Unsharp Mask, and Six More New Effects:

Retouch brushes, shapes, and crops. Twelve hands-on tools, covered in Dodge, Burn, Clone Stamp, and More:

Also new:

Other Changes

Upgrading

Update the bcue command line tool with sudo snap refresh bcue on Linux, brew upgrade bcue on Mac, winget upgrade DitoTechnologies.BCue on Windows, or download it from GitHub releases. Update the Python API with pip install --upgrade brushcue. If your scripts call a blend with three arguments, remove Transform2::identity(), or move a non-identity transform onto the foreground with .transform().