Trace a stained glass pattern from a photo

A sketch or a scanned pattern: place the image under your drawing, let Diafane detect the lines, or trace them by hand.

You need a photo or a scan (JPG, PNG, etc.), taken as squarely as possible. An image taken at an angle is straightened at step 2.

  1. Import the reference image Open the project in Cartoon mode. To import the image: In the left rail, click Reference. The reference image bar replaces the toolbar at the bottom. Click Import a reference image, then select your file. The image is placed under the drawing.
  2. Align the image on the drawing At the top of the bar, the Reference image part holds two tools that place the image: Frame: move the image and resize it with its handles. Perspective: move each corner of the image until the opening has square corners again. This tool straightens an image taken at an angle. When the image is in place, click Apply the distortion. The handles disappear. To align the image on the corners of the window, start by creating the project at the exact size of the window.
  3. Adjust how the image is displayed Adjust how the image is displayed under your drawing: Opacity: drag the slider until your lines stay readable over the image. To the right of the Reference image title, three buttons act on the image itself: Replace: choose another file. If the drawing holds detected paths, Diafane asks whether to keep or remove them. Hide: the image is no longer displayed, but stays in the project. The same button shows it again. Delete: Diafane asks for confirmation, then removes the image from the project. Deletion is permanent.
  4. Detect the paths Turn on Detect the paths. Diafane finds the closed shapes in the image, shows a preview of the paths on your drawing and displays their number next to the switch. Three settings adjust it live: Preview: Leads shows the paths at your project's lead thickness, Paths shows simple thin lines. Smoothing: from Faithful to Smooth. Sensitivity: from Light to Strong. To realign the image, click Frame or Perspective: the preview disappears during the distortion, then comes back when you click Apply the distortion. When the preview suits you, click the black button, which shows the number of paths, for example Add 20 paths and finish. To keep the image without paths, turn the switch off. While the paths of the previous detection are still in the drawing, the button becomes Replace 20 paths and finish. A window then offers Cancel, Add as well or Replace. Indicates that the image has changed since the last path detection For better results. Detection finds closed shapes. It works best on a clean, dark line drawing on a light background, with well-closed shapes. An open or broken line is ignored. A photo, a color drawing, a busy background or a dark image gives an approximate result: check the preview before adding the paths, then touch them up by hand if needed. Use an image at least 1,000 pixels wide, lit evenly.
  5. Finish or cancel Click Finish to close the bar. If you added paths, Diafane asks what happens to the image: Keep: the image stays under the drawing. Hide: the image stays in the project but is no longer displayed. Delete: the image is deleted from the project. To undo everything since you opened the bar, click Cancel. The changes to the image and the paths you added are undone, and the bar closes. A double tap on the drawing also closes the bar when the image is not selected.

On a tablet, everything is done with a finger or a stylus, with no keyboard: the settings are in the image bar. Two fingers move the view, pinching zooms.

The image is kept with the project, but it is never exported with the cartoon.

Start for free, with three projects.

Sign up for free

We verify your e-mail address, nothing else.