magick: Convert a magick image to a cimg image or image list

Description Usage Arguments Value Author(s) See Also

Description

The magick library package stores its data as "magick-image" object, which may in fact contain several images or an animation. These functions convert magick objects into imager objects.

Usage

1
2
3
magick2imlist(obj, alpha = "rm", ...)

magick2cimg(obj, alpha = "rm", ...)

Arguments

obj

an object of class "magick-image"

alpha

what do to with the alpha channel ("rm": remove and store as attribute, "flatten": flatten, "keep": keep). Default: "rm"

...

ignored

Value

an object of class cimg or imlist

Author(s)

Jan Wijffels, Simon Barthelme

See Also

flatten.alpha, rm.alpha


imager documentation built on May 30, 2018, 9:04 a.m.