Skip to main content

fill.imageTransform Affine Transform values are Slightly Off

  • February 15, 2026
  • 0 replies
  • 0 views

Justin_Taylor

Is this a bug or is there a reason that the Affine Transformation values ( node.fills[0].imageTransform ) are sometimes slightly less than 1 or slightly more than 0 when they should be 1 or 0?

 

 

Image Cropped Width-only (height should be 0 but is reporting 0.00049)

[
[0.8247655630111694, 0, 0.0004940849030390382],
[0, 1, 0],
]

 

 

Image Cropped Height-only (width should be 1 but width is reporting 0.999)

[
[0.9990118145942688, 0, 0.0004940849030390382],
[0, 0.8865153789520264, 0],
]

We’re normalizing these values against a threshold to sort these discrepancies out for now, but wondering if this has been brought up in the past and if there's a reason for it or not