Images

Learn how to work with images in Lunacy

This chapter details how to work with raster images. Lunacy supports all the popular image formats like PNG, JPG, JPEG, WEBP, BMP, ICO, GIF, SVG. The TIFF format is not supported.

Adding images

You can:

  • Add photos from the Lunacy library.
  • Use the Image tool to add images from your computer.
  • Copy image files from your desktop or the Explorer and then paste them onto the canvas.
  • Drag image files from your desktop or the Explorer and then drop them onto the canvas.
  • Import images from the internet.

There are several ways of adding images from the internet.

Way 1

That is the most reliable method.

  1. In your web browser, right-click over the image. The context menu appears.
  2. On the displayed menu, click Copy image address or similar command.
  3. Switch to Lunacy and click the Image tool. The Open dialog box appears.
  4. Paste the image URL into the File name field.
  5. Click Open.

    Importing images from the internet

  6. Click over the area where you want to put the image (this will add the image in its original size) or click and drag to get the required size of the image.

Way 2

This method works only when a web site provides direct links to images with an image extension at the end (.jpg, .png, .etc.).

  1. In your web browser, right-click over the image. The context menu appears.
  2. On the displayed menu, click Copy image address or similar command.
  3. Switch to Lunacy and right-click over the canvas.
  4. Click Paste here on the context menu. The Paste as image dialog box appears.
  5. Click OK to paste the image. If you click Cancel, Lunacy will paste the image address as text.

Way 3

When using this method you should understand that you are importing an image displayed in your web browser rather than the original file, so the quality of such an image will be lower.

  1. In your web browser, right-click over the image. The context menu appears.
  2. On the displayed menu, click Copy image or similar command.
  3. Switch to Lunacy and right-click over the canvas.
  4. Click Paste here on the context menu.

The demo below shows methods 2 and 3.

Replacing images

There are two ways to replace images.

Way 1

  1. Select an image on the canvas.
  2. In the Image section of the Inspector, click the Replace image button. The Open dialog box appears.

    Replacing images

  3. Browse to the new image file, select it and click Open.

Tip: You can also use this method, when you need to replace your current image with an image from the internet. In such a case, just paste the URL of the new image into the File name field of the Open dialog box and click Open.

Way 2

  1. Drag an image from the library, desktop or Explorer and hover it somewhere near the center of the current image.
  2. Wait a moment until the green mask appears, then release the mouse button.

Tip: If the green mask does not appear, try to zoom in a bit.

Cropping images

To crop an image:

  1. Select the image.
  2. Press Enter or click Image crop button on the context toolbar. The image crop frame gets enabled.
  3. Drag the borders of the frame to select the required area.
  4. Press Enter or click the Apply editing button in the Inspector.

Adjusting image colors

You can make color adjustments to your images using the controls in the Adjust image section of the Inspector. The section appears only when an image is selected. Just click the + button to unfold the panel and move the sliders to adjust hue, saturation, brightness, and contrast.

These adjustments are non-destructive. You can discard all changes and restore the original image by clicking the Reset values (Reset values button) next to the section header (see the demo below).

Also, you can adjust color settings of several images at the same time.

Background removal

Note: This feature works fine only with images that feature humans.

To remove background from an image:

  1. Select the image.
  2. In the inspector, click the Remove background button.