How to convert PS to vector image by command line?

When you need to convert Postscript to vector image TIFF, JPG, GIF, PNG, BMP, EMF, WMF, PCX, TGA and so on by command line, the following article will be helpful for you. VeryDOC Postscript to Image Converter has such function. And by this software, you can also render text, line, arc, ellipse, Bezier, color, image, form and any other elements from PS and EPS files to image formats quickly.  Please check more information of this software on homepage, in the following part, I will show you how to use this software.

Step 1. Download Postscript to Image Converter

  • As this is command line version software, when downloading finishes, there will be a zip file. Please extract it to some folder then you can check its elements and call it from MS Dos Windows.
  • There are only developer version and server version available. If you are laptop or computer user, please choose the server version as it can also work under computer system.

Step 2. Convert Postscript to vector by command line.

  • When you use this software, please refer to the usage and examples.
  • Here is the usage for your reference: ps2img [options] <-i PS File> [-o Output]
  • When converting Postscript to vector image, please refer to the following command line templates.
    ps2img -i C:\input.ps -o C:\output.tif
    By this command line, we can convert Postscript to vector tiff file.
    ps2img -i C:\input.eps -o C:\output.gif
    This software also can help you convert EPS file to vector image file.
    ps2img -m -i C:\input.ps -o C:\output.bmp
    By this command line, we can convert Postscript to vector BMP file.
    ps2img -c lzw -i C:\input.ps -o C:\output.tif
    By this command line, we convert Postscript to vector tiff and compress tiff file using LZW arithmetic.
    ps2img -q 80 -i C:\input.ps -o C:\output.jpg
    This command line template can help you convert Postscript to vector Jpg and set quality in created image files.
    ps2img -b 4 -i C:\input.ps -o C:\output.emf
    ps2img -i C:\input.ps -o C:\output.tif -b 1 -c ClassF -r 204x98 –m
    By this command line, we can convert Postscript to vector tiff file and set bit count as 1, compress TIFF into Fax compatible ClassF 204x98 format.
    ps2img -f 1 -l 9 C:\input.ps -o C:\output.wmf
    When converting Postscript to vector image, this software also allows you to choose conversion page range.
    ps2img -i C:\*.ps -o C:\*.pcx
    By this command line, we can convert Postscript to vector using wild character in batch.

Now let us check related parameters:

-r [resolution]      : Set resolution in generated image files
    -r 300           : Set horizontal and vertical resolution to 300 DPI
    -r 200x300       : Set horizontal and vertical resolution to 200x300 DPI
    -r 204x98        : Set horizontal and vertical resolution to 204x98 DPI
-f [first Page]      : First page to convert
-l [last Page]       : Last page to convert
-c [compress]        : Set compression method in generated image
-q [quality]         : Set quality in created image files(for jpeg image only)
-t                   : Enable transparent background
-b [bit count]       : Set bit count in generated image files

By this software, you can convert Postscript to some of vector image files. During the using, if you have any question, please contact us as soon as possible.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Random Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!