Edit extension to convert color to png

Specific I know, but I kinda want to know.

There’s a cool extension i’m messing around with that tweaks the shape of the object your using by utilizing it own parameters, however it also comes with it’s own quirk to change the objects color, but I want the color to instead be a picture and not a string of RGB and it seems that I can edit the extension.

zat possible?

Most extensions are JavaScript code. JavaScript is used for extensions because it gives them more capabilities than the no-code event sheet. If you know how to JavaScript, you can possibly edit the extension and fit it to your needs.

If you don’t code JavaScript just like me, you can ask the extension author or maintainer to add this specific feature.
Out anyone who know coding JavaScript