The FXScript Reference

For Final Cut Pro created by Joe Maller

DimensionsOf

DimensionsOf(image, width, height)

Additional Notes

DimensionsOf

DimensionsOf returns two floating point values corresponding the the height and width of the specified image buffer. Despite occurances where they should be decimal values, frame dimensions are always returned as integers.

If the enclosing polygon of a shape is needed, use BoundsOf instead.

(check which direction the rounding goes: always up or does this use the even/odd statistical method?)