I use Libreoffice Draw for drawing block diagrams. I export them automatically on the command line using the following command:
soffice --headless --convert-to pdf --outdir figures figures_raw/foo.odg
However, this does not preserve transparency - the background is always white. How to convert odg drawings to pdf but preserver the transparency?