I'm using the im4java library to convert svg files to png files. I want the transparent backgrounds to remain transparent but they always become white. This is the operation I'm using:
IMOperation hdpiOperation = new IMOperation();
hdpiOperation.addImage();
hdpiOperation.background("none");
hdpiOperation.addImage();
If I manually try with ImageMagick from the commandline using this command it does work:
convert -background none a.svg b.png
Any ideas?