Copy link to clipboard
Copied
Hello,
I'm creating an FCP XML generation library and had encountered some funky maths with position,scale and anchor points.
I got the feel they are all related, but could'nt find the correct method to accurately supply keyframe data in pixels and have it translated correctly to the relative/fractional number that is stored in the xml file.
Could someone please help me understand how the conversion works so I could implement transform effects?
Example:
Input:
pos: 1655.8, 882.9
anchor: 1134.8, 799.3
scale: 66.7
Desired output:
pos: -0.591039, -0.740126
anchor: 0.0910389, 0.240126
scale: 66.7
Actual output:
pos: 0.271364, 0.793074
anchor: 0.091042, 0.240093
scale: 66.7
Sorry, Adobe has no additional details to offer; PPro's FCP XML implementation is based on Apple's file format specification.
Copy link to clipboard
Copied
Sorry, Adobe has no additional details to offer; PPro's FCP XML implementation is based on Apple's file format specification.
Copy link to clipboard
Copied
Thanks.