How to blend two images with a gradient layer mask
Blend two photos in PicEdita using a Photoshop-style gradient mask. Turn a hard seam into a smooth day-to-night transition and recover detail with a soft brush.
From a hard seam to a smooth blend



Step by step
Stack and align the two photos
Open the daytime JPG in PicEdita. Choose File → Place Embedded… and select the nighttime JPG. Both samples are 768 × 512 px. Keep the scale at 100%, check that the corners and riverbank line up, and confirm the placement.

Make a mask with a hard edge
Select the nighttime layer. With the Rectangular Marquee Tool, select the right half of the canvas and click Add Layer Mask in the Layers panel. The left side of the mask is black, so the day layer shows through. The right side is white and keeps the night layer visible. This gives you a hard seam to compare.

Soften the seam with a black-to-white gradient
Click the mask thumbnail and clear any remaining selection. Pick the Gradient Tool and Linear Gradient, with black and white as the two colors. In the sample, the preset starts white-to-black, so turn on Reverse. Drag horizontally from about one third to two thirds of the frame. A longer drag gives a wider transition. If day and night swap sides, reverse the direction.

Recover local detail with a soft brush
Keep the mask selected. Choose the Soft Round brush at about 24 px and 60% brush opacity. Paint in black along the body of the central tower to reveal more of its daytime detail. White brings the nighttime layer back. Use short strokes and zoom in if building edges appear doubled.

Export the blend
Choose File → Export → Export As…, select PNG and check for 768 × 512 px before exporting. Save a separate PSD if you want to return to the layers and adjust the mask later.
