eps2img - Convert PS/EPS files to raster and vector images
perl eps2img.pl [--fmt=format ...] [--dpi=int] [--pdfversion=version]
[--nocrop] [--legacy_epscrop] [--norotate] [--verbose]
[--nopause] [-a] file [file ...]
eps2img facilitates converting PS/EPS files to raster and vector images.
If you want to animate the rasterized images, consider using img2ani,
a sister program also written by the author. See "SEE ALSO" below.
--fmt=format ... (separator: ,) [default: png,pdf]
Output formats.
all
png
png_trn
jpg/jpeg
pdf
svg
emf
wmf
--dpi=int [default: 300]
Raster resolutions. Sane range 100--600.
--pdfversion=version [default: 1.4]
The version of converted PDF files.
The available PDF version is dependent on your Ghostscript version.
--nocrop
EPS files will not be cropped when PDFed and PDF-rasterized.
--legacy_epscrop
The Ghostscript command -dEPSCrop will be used instead of -dUseCropBox.
--norotate
EPS files will not be rotated when PDFed and rasterized.
--verbose
Display what are being commanded to the dependency executables.
--nopause
The shell will not be paused at the end of the program.
-a, --all
All PS/EPS files in the current working directory
will be converted to the designated output formats.
file (separator: ,)
PS/EPS files to be converted.
perl eps2img.pl kuro_shiba.eps mame_shiba.eps --fmt=jpg --dpi=600
perl eps2img.pl -a --fmt=all
perl eps2img.pl ./samples/tiger.eps --fmt=pdf --pdfversion=1.7
Perl 5
Moose, namespace::autoclean
* Consider registering an environment variable called "PERL5LIB"
with a value of "%userprofile%/Documents/GitHub/eps2img/lib".
Ghostscript, Inkscape
Want to animate the rasterized images? Check out the sister program: img2ani on GitHub
Jaewoong Jang <jangj@korea.ac.kr>
Copyright (c) 2018-2023 Jaewoong Jang
This software is available under the MIT license; the license information is found in 'LICENSE'.