Skip to contents

Creates a cyanotype blueprint effect with optional grid and paper texture.

Usage

patina_blueprint(
  img,
  bg = "#0e4a7b",
  grid = FALSE,
  grid_px = 48,
  paper_texture = NULL,
  line_soften = 0.5
)

Arguments

img

magick image.

bg

Blueprint background color.

grid

Logical; overlay a white grid.

grid_px

Grid spacing in pixels.

paper_texture

Optional paper texture.

line_soften

Gaussian sigma for softening line mask.

Examples

if (FALSE) { # \dontrun{
if (requireNamespace("magick", quietly = TRUE)) {
  img <- magick::image_blank(200, 200, "white")
  patina_blueprint(img)
}
} # }