svg2png
Package: WA2L/WinTools 1.2.08
Section: General Commands (1)
Updated: 26 February 2019
Index
Return to Main Contents
NAME
svg2png - convert SVG files to PNG
SYNOPSIS
WA2LWinTools/bin/svg2png
[
-h
|
-i
|
-u
|
-V
]
svg2png
[
-n
][
file...
]
AVAILABILITY
WA2L/WinTools
DESCRIPTION
convert one or more
*.svg
file(s) to
*.png
file(s).
Each given
file1.svg
is converted to
file1.png
as long as the destination file (
file1.png
) does not exist already.
The
svg2png
command should be installed to the
'Send To'
context menu in
'Microsoft™ Windows Explorer'
for most convenient usage. To do so, invoke
svg2png -i
once.
To change the default command line options of the
convert(3)
command that is internally used to perform the conversion
do this by specifying those options in the
SVG2PNG_OPTIONS=options
setting in the optional
etc/svg2png.cfg
file.
OPTIONS
- -h
-
usage message.
- -i
-
install the
svg2png
command as menu point
'svg2png'
to the
'Send To'
context menu in
'Windows Explorer'.
- -u
-
uninstall the
svg2png
shortcut from the
'Send To'
context menu in
'Windows Explorer'.
- -V
-
print program version.
- -n
-
non interactive execution. This prevents
the message box dialog at the end of the program
execution. Using
-n
the
svg2png
command can be used in batch processing without any
user intervention.
- file...
-
list of
*.svg
files to convert to
*.png
.
When installed in the
'Send To'
menu the selected file(s) in
'Windows Explorer'
are passed as a list of files to the
svg2png
command and all given SVG files are converted and saved as a separate PDF file.
If no file is specified, you are queried to select the file(s)
by a open file box dialog where you then can select one
file(s) to be processed.
ENVIRONMENT
-
EXIT STATUS
- 0
-
no error.
- 1
-
files were skipped or conversion failed.
- 2
-
shortcut in 'SendTo' menu could not be removed.
- 4
-
usage message displayed.
- 5
-
program version printed.
- 6
-
program variant not known. This error occurs when the
svg2png
command is renamed.
FILES
- etc/svg2png.cfg
-
optional configuration file for
svg2png.
See:
svg2png.cfg(4)
for more information.
EXAMPLES
See:
epub2mobi(1).
SEE ALSO
wintoolsintro(1),
epub2mobi(1),
config(1m),
svg2png.cfg(4),
xps2pdf(1),
xps2png(1),
https://www.imagemagick.org/script/convert.php
NOTES
The
svg2png
command uses internally
convert,
a command that is part of the ImageMagick™ package.
For more information about
convert
and ImageMagick, see:
https://www.imagemagick.org/script/convert.php
.
BUGS
-
AUTHOR
svg2png was developed by Christian Walther. Send suggestions
and bug reports to wa2l@users.sourceforge.net .
COPYRIGHT
Copyright © 2020
Christian Walther
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.
This document was created by man2html
using the manual pages.
Time: 16:33:06 GMT, September 14, 2024