Skip to content

Smart Filters: Non-Destructive Filters You Can Edit Later

A normal filter rewrites your pixels the moment you click OK. A smart filter stores the filter and its settings instead, and runs it every time the image is drawn. This guide explains how that works, walks through adding and editing a filter stack in Photoyam, and covers the mask, blending and performance details that decide whether the result stays easy to change.

Hand-painted cups on a café table: the left half is the smart object as it is; on the right half a Gaussian Blur smart filter (radius 8) softens it, while the original pixels stay untouched underneath and the blur can be changed or removed at any time.

Why use smart filters

Filters are the edits you most often want to revisit. A Gaussian Blur radius that looked right at 1 a.m. looks heavy the next morning; a client asks for “a bit less sharpening” after you have made twenty other changes. With a destructive filter the only way back is History, which also throws away everything you did afterward. With a smart filter you open its settings and change one number.

Typical situations where that pays off:

  • Sharpening for output. Web, print and social media each want a different amount. Keep Unsharp Mask or Smart Sharpen live and adjust per export.
  • Background blur and depth effects. Blur a background, then paint on the mask to keep the subject crisp, and refine that edge later.
  • Stylized looks. Stacks such as Add Noise followed by a light blur, or Oil Paint with a reduced opacity, are much easier to balance when every step stays editable.

How a smart filter works

A smart filter is a small record attached to a layer: which filter, its parameter values, whether it is on, and how it blends. The layer’s pixels are never modified. When Photoyam draws the document, it takes the untouched pixels, runs each enabled filter in turn, blends each result using that filter’s mode and opacity, applies the optional mask, and composites the outcome into the image. The filtered result is kept in memory, so it is only recalculated when something it depends on changes.

Two consequences are worth knowing up front. First, order matters: blurring and then adding noise gives crisp grain on a soft image, while adding noise and then blurring softens the grain away. In Photoyam the stack runs top to bottom, so the first filter in the list is applied first. Second, you can always get the original back: turn a filter off or delete it, and the layer looks exactly as it did before.

A smart object layer of a cup photo in the Photoyam Pro editor with two smart filters, Gaussian Blur and Unsharp Mask, listed in the Properties panel as separate entries with their own Mode, Opacity and settings, below a Smart Filter Mask row with an Add Filter Mask button.
A smart object carrying two smart filters. Each one stays an editable entry with its own settings, on/off toggle and blending, and the original pixels underneath are untouched.

Add and edit a smart filter

  1. Select the layer. Click a raster layer or a smart object in the Layers panel. Smart filters cannot be added to text, shape, adjustment or group layers.
  2. Open the Filter Gallery. Choose Filter › Filter Gallery…. Pick a filter from its list and set its sliders; with Preview ticked (the default) the result shows live on the canvas, and the thumbnail’s Before/After button compares it with the original.
  3. Click Add as Smart Filter. The gallery’s buttons are Cancel, Add as Smart Filter and Apply. Apply bakes the filter into the pixels. Add as Smart Filter attaches it to the layer as an editable entry. The settings you chose become the starting values.
  4. Find the stack in the Properties panel. Open the Properties panel (Window › Properties, or its icon in the panel rail on the right). Each smart filter appears as a row with a toggle (◉ on, ○ off), its name, ↑ and ↓ buttons to reorder, and ✕ to remove it. Below the name are its parameter sliders. Drag one and the canvas updates; each drag is a single undo step.
  5. Set Blending Options. Every filter row has its own Mode and Opacity. Opacity works like the Fade command in Photoshop, but you can change it forever: 40% Unsharp Mask is often more natural than a weaker setting at 100%. Mode lists every layer blend mode except Dissolve. Setting a sharpening filter to Luminosity avoids color fringes; setting a blur to Soft Light or Screen gives a glow.
  6. Stack more filters. Repeat from step 2 (or, on a smart object, pick another filter from the Filter menu) to add another. New filters are added to the list; use the arrows to move them so they run in the order you want.
The Filter Gallery dialog in Photoyam with Gaussian Blur chosen in its Filter menu, a Radius slider, a Before/After preview of a flower photo, and the Cancel, Add as Smart Filter and Apply buttons along the bottom.
Filter › Filter Gallery… is the one dialog with an Add as Smart Filter button. Apply next to it bakes the filter in instead.

The other route: filters on a smart object

Picking a filter straight from a Filter submenu, such as Filter › Blur › Gaussian Blur… or Filter › Sharpen › Unsharp Mask…, opens that filter’s own dialog. It has Preview, Before/After, Cancel and OK, but no Add as Smart Filter button, and what OK does depends on the layer:

  • On a raster layer, OK changes the pixels (inside the selection, if there is one) as a single History step, the destructive route.
  • On a smart object, OK adds the filter as a smart filter, the way Photoshop does. So if you like working from the Filter menu, first choose Layer › Smart Objects › Convert to Smart Object and every filter you add after that stays editable.

Filters without settings, such as Filter › Sharpen › Sharpen, have no dialog at all: they run the moment you choose them, which again means a smart filter on a smart object and changed pixels on a raster layer.

The Smart Filter Mask

If a selection is active when you add the first smart filter, Photoyam turns it into the Smart Filter Mask, as Photoshop does; otherwise the filter covers the entire layer. To change where filters show afterwards, edit the Smart Filter Mask. There is one mask per layer, and it controls the whole stack at once: white shows the filtered result, black shows the original, unfiltered pixels, and grays blend between them.

  • Add it. Once a layer has at least one smart filter, the Properties panel shows a Smart Filter Mask row with an Add Filter Mask button. The new mask is white, so nothing changes yet.
  • Paint it. Click the mask thumbnail to make it the paint target, then use the Brush or Eraser. Paint black over the areas that should stay unfiltered, such as a subject’s face under a background blur. A soft brush gives a natural transition.
  • Toggle it. Shift+click the thumbnail to disable the mask temporarily and see the filter everywhere.
  • Invert or delete it. Invert swaps what is filtered and what is not, which is handy when it is easier to paint the small area. Delete removes the mask and the filters apply everywhere again.

If you need different filters in different areas, the single mask is not enough. Duplicate the layer, give each copy its own filters and mask, and stack them.

Raster layers vs smart objects

Photoshop only allows smart filters on smart objects. Photoyam also allows them on ordinary raster layers, which is convenient but behaves differently in one important way: you can still paint on a raster layer. Brush strokes go into the pixels underneath the filters, so painting on a blurred layer produces blurred paint. That is useful for retouching behind a filter and surprising if you did not expect it.

A smart object wraps the pixels in a protected container. Use Layer › Smart Objects › Convert to Smart Object on a raster layer; its existing smart filters carry over. The source is stored write-once: it can no longer be painted on directly, and everything you see is derived from it. Layer › Smart Objects › Replace Contents… swaps in a different image while keeping the filters, which suits templates and mockups. A smart object is also the layer where any filter from the Filter menu turns into a smart filter on OK.

Three ways to use a filter
MethodPixels changed?Editable laterBest for
OK / Apply on a raster layerYes, immediatelyOnly by undoingQuick fixes, selection-limited edits, final output
Smart filter on a raster layerNoYes; you can still paint the layerRetouching while keeping filters adjustable
Smart filter on a smart objectNo, source protectedYes; contents replaceableTemplates, mockups, layers whose contents you may swap

Performance and when to bake

Photoyam runs entirely in your browser, so every smart filter uses your own device’s processor and memory. The result is cached, so panning and zooming stay fast, but any change to a parameter, the filter order or the layer’s pixels reruns the stack. Filters that look at large neighborhoods, such as Lens Blur, Oil Paint, Reduce Noise or a large-radius Surface Blur, take noticeably longer on big images. A few habits help:

  • Tune the heaviest filter last, and turn off the others while you drag its sliders.
  • Keep stacks short. Three well-chosen filters beat eight small nudges.
  • Close other heavy browser tabs when working on large photos.

Bake the stack when it is final, when the document feels sluggish, or before handing pixels to a tool that needs real ones. For a smart object, use Layer › Rasterize › Smart Object. For a raster layer, convert it to a smart object first and then rasterize it. Duplicate the layer and hide the copy beforehand if you might want the editable version back.

Common mistakes

  • Expecting a later selection to limit the filter. A selection only becomes the mask when you add the first smart filter; after that, paint the Smart Filter Mask instead.
  • Looking for Add as Smart Filter in a single filter’s dialog. It is only in Filter › Filter Gallery…. On a raster layer, OK in a filter’s own dialog changes the pixels; convert the layer to a smart object first if you want the Filter menu to add smart filters.
  • Getting the order backward. If a stack looks wrong, try swapping two filters with the arrows before changing any settings.
  • Maxing a slider instead of using Opacity. A strong filter at reduced opacity often looks cleaner than a weak filter at full strength.
  • Assuming a JPG keeps the stack. Exporting flattens everything; keep working in the layered document if you want to edit later.

Try it in Photoyam

Add smart filters, reorder them, fade them and mask them in a free editor that runs in your browser.

FAQ

Do I have to convert a layer to a smart object before adding a smart filter?

No. In Photoyam you can add smart filters to a regular raster layer with Filter › Filter Gallery… and Add as Smart Filter. Converting first (Layer › Smart Objects › Convert to Smart Object) has two advantages: every filter you pick from the Filter menu, such as Gaussian Blur…, then becomes a smart filter automatically when you click OK, and the pixels themselves are locked, so you can swap them later with Replace Contents.

Does a smart filter respect my selection?

Only when you add it. If a selection is active and the layer has no filter mask yet, the first smart filter turns that selection into the Smart Filter Mask, as in Photoshop. A selection made later changes nothing; paint the Smart Filter Mask in the Properties panel instead, black where the filter should not show. A filter applied directly to a raster layer (OK in a filter dialog, or Apply in the Filter Gallery), by contrast, does respect an active selection.

Will my smart filters survive if I export a JPG or PNG?

The look will. Exporting flattens the document, so the filtered result is written into the file. The editable filter stack only exists while you keep working on the layered document.

Why is the Pro editor slow when I drag a smart filter slider?

Each change reruns the filter stack on the whole layer. Heavy filters on a large image take a moment per update. Temporarily turn off the other filters in the stack, or tune the heavy filter last, to keep previews quick.