The file format is OPTION=VALUE
Between the OPTION , the = and the VALUE are no spaces.
You can comment out any OPTION or completely remove the related setting line to use the default settings.
Internally the convert command is called as follows:
convert input.svg SVG2PNG_OPTIONS output.png
Therefore the specified SVG2PNG_OPTIONS are passed between the input.svg and the output.png files.
Example: SVG2PNG_OPTIONS=-transparent white -geometry x200
Default: SVG2PNG_OPTIONS=
# # WA2LWinTools/etc/svg2png.cfg - Configuration file for svg2png # # [00] 28.03.2017 CWa Initial Version # # scale image to 25% # and replace white with transparent background: # SVG2PNG_OPTIONS=-scale 25% -transparent white
# # WA2LWinTools/etc/svg2png.cfg - Configuration file for svg2png # # [00] 28.03.2017 CWa Initial Version # # scale image to a height of 200 pixels with the same aspect ratio # and replace white with transparent background: # SVG2PNG_OPTIONS=-geometry x200 -transparent white
# # WA2LWinTools/etc/svg2png.cfg - Configuration file for svg2png # # [00] 28.03.2017 CWa Initial Version # # rotate image by 90 degrees (clockwise) # and replace white with transparent background: # SVG2PNG_OPTIONS=-rotate 90 -transparent white
This is free software; see WA2LWinTools/man/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.