I'm trying to export mask spline points x and y data by using:
bpy.data.masks['Mask'].layers['0'].splines[0].points[0].co
but i get an x, y vector with an unknown coordinates like:
(0.40345168113708496, 0.4609205424785614)
i think they are a percentage of the image i made the mask on, i need to convert it to pixel format where it should show something like:
(402,503)
i tried to do some math, and multiplied it with image the resolution, but the resulting numbers are wrong! i do not get the formula behind this vector after searching many posts, can some please point me to it or how to convert it to image space?