hi community !
the doc is mentioning that ImagePaint
has properties imageSrc
and src
but i can’t find them in my plugin Figma/plugin-typings,
neither do i see them in node.fills at runtime.
Did those properties disapear and the doc didn’t get updated ?
Or am i missing something ?
If it did disapear, maybe someone could point me to another solution to achieve what i need
1 - i wanna get the ratio of the image (the original image, not the node)
2 - know if the original image was a png or a jpg (or smth else)
Thanks in advance !
Edit : just after posting this, i found out about widget vs plugin,
is it related ? (those are only allowed from a widget and not a plugin)