Skip to content

Images and crop

An image in Brilliant is a fill, so it lives on the same rows as a color and opens in the same picker.

How do I bring in an image?

Paste it, drag it in, or import it. It lands as a rectangle with an image fill, ready to move, resize and restyle.

WayDo
Paste⌘V. Screenshots, images from a browser and copied files all work.
DragDrop a file from your file manager onto the canvas.
Import⌘⇧O, which also takes SVG and .bl files.

Brilliant reads PNG, JPG, GIF, BMP and WebP on every platform, and TIFF, HEIC, HEIF and AVIF on macOS and Windows.

How do I swap an image?

Click the swatch on the image fill row to open the picker in image mode. Then click the preview to choose a file, drop a file on it, or press ⌘V to paste an image or an image URL.

What are the scale modes?

The mode decides how the picture sits in its element. Set it in the image fill’s expanded row.

ModeWhat the picture does
FillCovers the element and crops what overflows. This is the default.
FitSits entirely inside, letterboxed if the shapes differ.
CropGoes where you put it by hand, in crop mode.
TileRepeats at its natural pixel size.

Leaving Crop for another mode discards the crop.

A still of the live example. Open this page on a desktop browser with WebGPU to try it.
Image scale modes, live (shape stand-in for a photo), in its opening state
Scale mode
Image scale modes, live (shape stand-in for a photo). Live on a desktop browser with WebGPU. Flip a control and the canvas recompiles in place.

Try it: switch the mode and watch one window hold the same picture four ways.

How do I crop in place?

Double-click an element with an image fill, or select it and press Enter. The element becomes a window, and you move the picture behind it.

Crop mode: a faded image behind a smaller kept window with blue corner brackets
Crop mode: the full picture faded behind the kept window, with brackets on the window.
ToDo
Pan the pictureDrag anywhere on it
Scale the pictureDrag its corners or edges; Shift keeps its proportions
Rotate the pictureDrag just outside a corner
Resize the windowDrag the blue brackets; the picture stays pinned
Undo one change⌘Z
Leave crop modeEnter, Esc, a double-click, or a click on empty canvas

Crop mode needs the Move tool. On text and vectors a double-click edits them instead, so choose Crop in the mode menu. A frame with contents drills into its children, while an empty frame with an image fill crops like a shape, which makes a handy image container.

How do I resize an element but not its image?

Hold ⌘ (Ctrl on Windows) while dragging a resize handle. The image stays fixed and converts to Crop mode, so its framing holds.

Where next?