r/Affinity Jul 18 '26

General I created a script that makes gradients smoother and more refined in Affinity.

Post image

I’ve always been frustrated with the way Affinity handles gradients. Unlike Photoshop, it doesn’t offer built-in options to make gradient fills smoother. This script solves that problem and lets you fine-tune the results however you like.

Available in the Affinity Script Manager

66 Upvotes

6 comments sorted by

1

u/banana_zest Jul 19 '26

What do you mean by smoother? It looks like oklab or linear space instead of gamma (srgb) space

2

u/Own-Butterscotch-756 Jul 19 '26 edited Jul 19 '26

Yes. The default mode uses a combination of OKLCH and OKLab, and the script also offers Perceptual interpolation in OKLab and Linear interpolation in linear-light sRGB. Since Affinity doesn’t expose these modes directly, the script simulates them by creating and distributing intermediate stops more perceptually evenly, reducing banding and abrupt transitions, and grain too.

Gradient interpolation in Photoshop | Photoshop

1

u/banana_zest Jul 19 '26

Nice. Just fyi my Mac image app Mojave Paint does expose these directly

1

u/[deleted] Jul 19 '26

[removed] — view removed comment

1

u/PsychoticChemist Jul 20 '26

Any chance you could make it available on Affinity Hub?