cancel
Showing results for 
Search instead for 
Did you mean: 

How to use Activiti Image Generator

chandanmb1
Champ on-the-rise
Champ on-the-rise
Hello,

When i drag and drop the element from the pallete, i need to get custom image on the element (like human for User Task)
It is using svg. Now i have a PNG image ,i need to convert to SVG.

I saw one module called activiti-image-generator which generates the svg file.
How to use it ? which method to call ?

Please provide some sample snippet
3 REPLIES 3

jbarrez
Star Contributor
Star Contributor
"I saw one module called activiti-image-generator which generates the svg file."

activiti-image-generator does NOT generate svg's. Creating svg's is a manual thing you have to do.

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,
I did svg generator ages ago:
https://forums.activiti.org/content/activiti-image-generator-layers

Regards
Martin

chandanmb1
Champ on-the-rise
Champ on-the-rise
Hi,
If we generate svg and put it in the "view" of stencilset.json.
We have added the generated svg, it will throw an error "namespaces" are missing.
Since you have used oryx and when we generate ourselves it wont add the oryx.