attributes function

Image Attributes

Image Attributes

Attributes are properties of the image that might be present on some images and might affect image manipulation methods.

image_comment(image, comment = NULL) image_info(image)

Arguments

  • image: magick image object returned by image_read() or image_graph()
  • comment: string to set an image comment

Details

Each attribute can be get and set with the same function. The image_info()

function returns a data frame with some commonly used attributes.

See Also

Other image: _index_, analysis, animation, color, composite, defines, device, edges, editing, effects(), fx, geometry, morphology, ocr, options(), painting, segmentation, transform(), video

  • Maintainer: Jeroen Ooms
  • License: MIT + file LICENSE
  • Last published: 2025-03-23