Overview
Are SVG files officially supported by Xinet?
Information
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.
- Run
chmod 666 *
- Run
apache file.svg
- Run
/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.
<supportagent>The Product Enhancement feature has already been submitted and can be viewed in the tracker sheet as represented on this image.</supportagent>
Comments
0 comments
Please sign in to leave a comment.