Affine transforms are linear transformations that cover scaling, rotation, shearing, and translations. They can be represented as matrices of 2x3 or 3x3 values. This function reads the matrix and extracts the values needed to perform them.

parse_affine(x)

Arguments

x

object coercible to matrix with a 2x3 or 3x3 affine matrix

Value

a list of transforms information.