Are SVG files officially supported by Xinet?
Xinet Server versions 2021.3 and earlier do not officially support SVG files. However, as a workaround, to generate a preview, you can follow the steps below:
- Install Inkscape using the command
yum install -y inkscape
- Using the command line, navigate to your image file.
- Run the following command:
inkscape file.svg --export-plain-svg=newfile.svg
- A second SVG file should be created in the Volume.
chmod 666 *
/usr/etc/venture/bin/syncvoltodb -D -delnorm /media/images
Alternatively, you can create a PNG file using Inkscape with the command
inkscape file.svg -e newfile.png --export-background-opacity=0 --without-gui --export-dpi=200 and repeat the steps from 5 to 7.
This should generate a preview in Xinet with some clutter but still a distinguishable image.