I tried to convert the SVG image with tool which you recommend the first thing what I was facing
is that the result code is uncompilable. There is part
shape = new Rectangle2D.Double(0, 0, 128, 128);
But there is not subclass Double in Rectangle2D class.
When I commented out this code the result doesn't looks like the original input the first thing it is not
animated the second thing that the background is black instead of transparent.