Print method for rayimg

# S3 method for class 'rayimg'
print(
  x = NULL,
  preview_n = 10,
  decimals = 3,
  color = TRUE,
  ansi_preview = TRUE,
  ansi_size = 20,
  ansi_style = c("bg", "block"),
  ansi_replace = TRUE,
  ...
)

Arguments

x

Default NULL. A rayimg object.

preview_n

Default 10. Max rows/cols to display in numeric preview.

decimals

Default 3. Number of decimal places to display in numeric preview.

color

Default TRUE. Colorize headers and R/G/B/A numeric cells when supported.

ansi_preview

Default TRUE. If TRUE, show a 24-bit color mosaic preview.

ansi_size

Default 20. Mosaic size (N -> N×N).

ansi_style

Default "bg". "bg" uses background color blocks, "block" uses .

ansi_replace

Default TRUE. Show only mosaic; FALSE shows mosaic then numeric preview.

...

Default “. Ignored.

Value

Invisibly returns x.