pdf2png

Package: WA2L/WinTools 1.2.08
Section: General Commands (1)
Updated: 25 February 2019
Index Return to Main Contents

 

NAME

pdf2png - convert SVG files to PNG

 

SYNOPSIS

WA2LWinTools/bin/pdf2png [ -h | -i | -u | -V ]

pdf2png [ -n ][ file... ]

 

AVAILABILITY

WA2L/WinTools

 

DESCRIPTION

convert one or more *.pdf file(s) to *.png file(s).

Each given file1.pdf is converted to file1.png as long as the destination file ( file1.png ) does not exist already.

The pdf2png command should be installed to the 'Send To' context menu in 'Microsoft™ Windows Explorer' for most convenient usage. To do so, invoke pdf2png -i once respectively select the 'File conversion' checkbox in the config(1m) command.

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 PDF2PNG_OPTIONS=options setting in the optional etc/pdf2png.cfg file.

 

OPTIONS

-h
usage message.

-i
install the pdf2png command as menu point 'pdf2png' to the 'Send To' context menu in 'Windows Explorer'.

-u
uninstall the pdf2png 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 pdf2png command can be used in batch processing without any user intervention.

file...
list of *.pdf 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 pdf2png command and all given PDF files are converted and saved as a separate PNG 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 'Send To' menu could not be removed.

4
usage message displayed.

5
program version printed.

6
program variant not known. This error occurs when the pdf2png command is renamed.

 

FILES

etc/pdf2png.cfg
optional configuration file for pdf2png. See: pdf2png.cfg(4) for more information.

 

EXAMPLES

See: epub2mobi(1).

 

SEE ALSO

wintoolsintro(1), epub2mobi(1), config(1m), pdf2png.cfg(4), xps2pdf(1), xps2png(1), https://www.imagemagick.org/script/convert.php

 

NOTES

The pdf2png 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

pdf2png 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.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
OPTIONS
ENVIRONMENT
EXIT STATUS
FILES
EXAMPLES
SEE ALSO
NOTES
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html using the manual pages.
Time: 16:32:36 GMT, September 14, 2024