Leopard leaping off a log with part of its body popping out of a photo frame, illustrating the Out-of-Bounds effect created in Affinity

How to Create the Out-of-Bounds Effect in Affinity Photo

The Out-of-Bounds effect is a fun way to make part of your photo “extend” outside a frame, creating the illusion that your subject is popping out of the page. Although the steps are similar in many graphics programs, Affinity Photo offers a flexible workflow using masks and adjustment layers. Here is how you can achieve this effect.

Prepare the Base Layers

Let's use this image of a leopard that is leaping down a log.

Photo of a leopard jumping down from a tree trunk before applying the Out-of-Bounds effect in Affinity

Before anything else, duplicate your photo layer. This lets you work non-destructively and gives you a copy to clip inside the frame later. You can right-click and choose Duplicate or use the keyboard shortcut Ctrl+J.

Affinity Layers panel showing the duplicated leopard photo layer used to work non-destructively for the Out-of-Bounds effect.

Using the Rectangle Tool (or any shape tool), draw the area you want to use as your frame. This gives you a visual boundary showing how much of your subject will appear inside and how much will pop outside. The color and stroke don't matter at this time.

Rectangle shape drawn on top of the leopard photo to mark the frame area for the Out-of-Bounds composition.

Make sure the frame shape is above your photo layer. Then clip the photo inside the shape by dragging the photo layer slightly to the right underneath the shape until you see a down-arrow indicator. This creates the “inside the frame” version of your image.

Rough Extraction

Now return to the duplicate of your photo — this will become the “out-of-bounds” part.
Create a rough selection around the part of the subject that will extend outside the frame.
This selection should be bigger than what you need, just to give yourself room to refine later.

Frame shape displayed above the leopard photo layer in Affinity, defining which part will pop outside the frame.

Copy (Ctrl-C) and paste (Ctrl-V) to have only that section on its own layer. Delete the previous layer you copied from.

Using a mask in Affinity to reveal only the part of the leopard that stays inside the frame before adding the Out-of-Bounds section.

Precise Extraction with a Mask

This is where you choose your favorite extraction method.
In this example, the Selection Brush Tool was used, although the automatic result was far from perfect — especially around facial contours and legs.
Don’t worry; we’ll fix that with masking.

The masked leopard photo showing the selection of thehead and paw extending outside the frame, demonstrating the Out-of-Bounds illusion.

Click Mask Layer to convert your rough selection into a mask.
You’ll now see the extracted subject sitting on a transparent background.

Affinity Layers panel with the photo clipped inside the frame shape and the duplicated layer used for the outside portion.

And here is what the extraction looks like after I deselected. It is not great but we can work on that.

Rough selection of the leopard’s head and front paw using the Selection Brush, showing the default edges before refinement.

This is where the magic happens.

Remember, "Black will block" (and white is a window).

Use a small soft brush to clean up the edges. Paint black on areas that should be removed and paint white on areas you want to keep or restore

In the example, areas above the forehead and under the nose were removed, while edges around the legs and under the neck were refined and recovered.

After just a few strokes, the extraction becomes much cleaner and more natural.

Refined selection of the leopard’s head and paw with smoother, more accurate edges after additional cleanup.

Stylize the Subject

To enhance separation from the background, apply an inner outline using Layer Effects.
This creates a crisp border that emphasizes the “cut-out” look.

Rectangle frame updated with a visible outline to emphasize the boundary used in the Out-of-Bounds effect.

A thin white outline can create a sticker-style finish or simply improve contrast depending on the background.
Use it only if it suits your layout.

Rectangle frame updated with a visible outline to emphasize the boundary used in the Out-of-Bounds effect.

Create the Shadow

To simulate the shadow of the part sticking out of the frame you need to work on a duplicate of that masked layer. Duplicate it and then rasterize it by right-clicking and selecting Rasterize or Pixel > Rasterize.

The shadow has to be rasterized to allow further editing

Move it below the original masked layer.

Add an Adjustment Layer (typically Brightness/Contrast or Recolour).

Clip the adjustment to the rasterized layer so only the shadow is affected.

Rasterize again to merge it.

This gives you a solid shape to turn into a shadow.

Move that adjustment layer as a child layer of the rasterized layer so that only that layer will benefit from that adjustment.

Rasterize again.

Go to Pixel > Filters > Blur > Gaussian...

Shadow layer with the Gaussian Blur filter open, softening the edges of the shadow for a more realistic look.

Adjust the radius until the shadow looks soft but still visible.
This blurred shape becomes your realistic cast shadow.

Shadow layer with the Gaussian Blur filter open, softening the edges of the shadow for a more realistic look.

Select the shadow with the Move Tool.
Grab a side node, then hover just outside the bounding box until your cursor turns into a two-headed arrow.
Now drag to skew the shadow so it flows naturally away from the subject.

This step really enhances the 3D effect.

Shadow layer distorted to follow the angle of the leopard’s movement, enhancing the sense of perspective.

Some shadow may fall inside the frame where it does not belong.
Simply use the Eraser Tool to remove those parts.
This keeps the shadow only on the exterior “popping out” portion.

Erase the shadow where it extends in the wrong direction.

Final Cleanup

Once everything is aligned, refined, and shaded, use the Crop Tool to trim away any empty space and keep only the visible elements.

Final Out-of-Bounds composition showing the leopard jumping out of a framed photo with realistic masking, outline, and shadow details.

Your Out-of-Bounds composition is ready!

 

For Photos That Matter

Leave a Comment

Register for the next class, Zip It, February 1st

Register for our next live class, Bending Reality, January 4th