Skip to content
Türkçe

Turning a daytime photo into dusk: how, and how far

You can give a daytime photo of a home an evening look, but there are limits. This guide explains how the tool finds the sky, how it recolors the building, and what the result does not show.

Open the tool: Day to dusk photo

To take an outside photo in evening light, you have to be in front of the home at the right hour. The Day to dusk photo tool makes a similar look from a photo taken during the day. It does this with its own calculation, not with AI. Knowing what it does helps you pick the right photo and use the result honestly.

Left: a daytime photo of a house under a blue sky with white clouds. Right: the same photo with a purple and orange sky and a darker building
Left: the tool's input. Right: the sky found and turned into an evening sky. The shape of the clouds is kept; their colors change.

How the tool finds the sky

The tool looks for the sky in a small copy of the photo, 640 pixels on the long side. Points that can count as sky meet three conditions: they are bright enough, they are blue or colorless, and they are flat (not very different from the points next to them).

Then the tool starts from the top strip of the photo and spreads downward through those points. It stops where the color changes sharply, at the edge of a roof or a tree. That is why the sky must touch the top edge of the photo. If it does not, or if the area found is less than 1 percent of the photo, the tool says no sky was found.

The tool also does two finer jobs:

  • Points within about 12 pixels (in the working copy) of the main sky whose color matches the sky in that row also count as sky. This is how sky showing between tree branches is found.
  • Very small islands inside the sky (a bird, a wire) are added to the sky.

The "Sky detection" slider loosens or tightens these conditions. Higher values let the tool count darker and less flat areas as sky. If part of the sky was missed, raise it. If part of the building was taken for sky, lower it. The "Show the detected sky in color" checkbox tints the area found in the preview; that tint does not go into the downloaded photo.

Which photos work?

The tool's page says it gives the best result with an outside photo taken in clear weather, with a light blue or plain white sky that touches the top edge.

Things that make it harder:

  • A building the same color as the sky: A white wall against a white sky makes the edge hard to find.
  • Dense branches in front: The sky between the branches is only partly found, and the edges can be rough.
  • Sky cut off at the top: If a roof or a tree covers the whole top edge, the tool has nowhere to start.
  • Indoor photos: The tool is made for outside photos.

What happens to the sky and the building

The new sky is drawn from the top down to the horizon in the colors you pick: "Orange sunset", "Pink evening" or "Blue hour (just after sunset)". The shape of the clouds in the old sky is kept. The bright parts of the clouds take on the new cloud color. A soft sun glow is added near the horizon, toward the right side of the photo.

The building changes color too. Lit surfaces move toward the color of evening light; shaded areas move toward blue and darker. The lower part of the photo gets a little darker. The "Evening darkness" slider sets how strong this change is; it starts at 65.

Lighting the windows

You click on the glass of a window in the preview. The tool starts at that point and spreads to nearby points of a similar color to find the glass. The area found fills with a warm yellow light, with a soft glow around it. The "Window light" slider sets how strong the light is; it starts at 85.

  • If the area found is larger than 3 percent of the photo, the tool says it is too large for a window. Then click the glass of a single window.
  • If you click on the sky, no window is lit and the tool shows a warning.
  • With "Also light other windows of the same color" on, the tool also lights other areas that look like the first window in color and size. Sometimes this lights something that is not a window; check the result, and if needed, turn the box off and pick windows one by one.
  • "Remove window lights" clears them all.

What the result does not show

The tool changes the color of each point; it does not change the scene itself. That means:

  • Shadows cast by the daytime sun stay where they were. Their direction and hardness are those of daytime.
  • The sun glow always goes in the same place. The tool does not know where the real sun sets.
  • Only the windows you click (and, with the box on, areas that look like them) light up. Garden lamps, street lights and the like are not added.
  • There is no full night look. For the darkest look, pick "Blue hour" and raise "Evening darkness".

The tool's page also says this look does not replace a real evening shoot. If you use it in a listing, the page suggests saying that the photo has been edited.

Example: the front of a house

The house in the sample image stands in front of a light blue sky with large white clouds. The sky touches the top edge, and the dark roof stands out clearly from the sky. The tool found the sky and kept the shape of the clouds while changing their color. With a photo like this, starting from the default settings and then adjusting "Evening darkness" to taste may be enough.

The downloaded file

  • "Download photo (JPEG)" gives a JPEG at full size and 0.92 quality. Only photos larger than 40 million pixels are made smaller, and the tool tells you.
  • The file name is the original name with "-dusk" added.
  • One photo is handled at a time. Photos larger than 60 megapixels are not opened.

If the photo is dark or dull overall, you can brighten it first with the Photo light and color fix tool. You can also remove a cable or sign on the front with the Remove objects from photos tool.

Your photo is never uploaded; the change happens inside your browser. There is no AI model in this tool, and nothing is downloaded.

Open the tool: Day to dusk photo

More guides

Last updated: