When searching for a solution for XRENDERING-736, some work to implement this has already been done. See [this paste|https://up1.xwikisas.com/#OcRe^IconTransformation-IZbkW0Z_m-jXwBBLQusingIconProfider.txt] with an updated content for the Icontransformation java class.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.