Convert EPS to JP2

If you need to use a command line application to convert the file EPS to JP2 which can be considered as the next generation of JPEG, you can try the product VeryDOC Postscript to Image Converter. This application can be used to convert PS or EPS file to a variety of image formats such as BMP, GIF, JPG, PNG, JP2, PNM, etc. In the conversion process, you can also set parameters for the target file such as customizing the bit count, setting resolution, converting several pages of source file to target file.

Postscript to Image Converter can be opened in any kinds of programming or scripting languages such as C/C++, Delphi, ASP, PHP, C#, .NET, Visual Basic, etc. It is also available in an easily integrated COM object or Dynamic Link, Library (DLL) or command line. This article will focus on converting EPS to JP2 in the command line.

Before working, please download the application at www.verydoc.com/ps2img.zip and extract this ZIP file to some location of your computer. Then the executable file ps2img.exe will be runnable instantly and you need to call it in the command line.

At first, please open MS-DOS command prompt window. You can press “Window”+ “R” or click “Start”—“Run” to open “Run” dialog box in which you can input “cmd” or “CMD” in “Open” combo box and click “OK” button.

Then you are able to input the command line in the popup MS-DOS command prompt window. The command line is made up of three necessary parts—called program, source file and target file. Of course, if you want to realize some other kinds of functions besides converting EPS to JP2 only, you can also add other commands in the command line. Please see the following command line examples:

ps2img –i D:\A.eps –o D:\B.jp2

ps2img –r 500x850 –f 4 –i C:\File1.eps –o C:\File2.jp2

ps2img –b 8 –f 1 –l 6 C:\file-in.eps –o C:\file-out.jp2

The first command line is to convert EPS to JP2 only without setting any other parameters for the target file. The second command line is to set resolution for the target file as 500x850 DPI and convert EPS file from the forth page. The last conversion is to set the bit count of JP2 image as 8-bit and convert the first page from 1 to 6 of EPS file to JP2image.

The meanings of the options shown in the command line are:

-r XxY: Set horizontal and vertical resolution to XxY DPI

-f [first Page] : First page to convert

-l [last Page]  : Last page to convert

-b [bit count]  : Set bit count in generated image files

Then please hit “Enter” button on the keyboard to run the conversion from EPS to JP2.

If you want to learn more information about the commands of Postscript to Image Converter, you can directly drag the executable file ps2img.exe into MS-DOS command prompt window to see its usage. Or you can also visit its homepage to view its main information at https://www.verydoc.com/ps-to-image.html where you can also buy the application.

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!