You can easily realize the conversion from EPS to PNM via using the application VeryDOC Postscript to Image Converter. If you want to see how to do it, please read the following contents carefully. The application Postscript to Image Converter is specially designed for converting EPS or PS format file to image files of different formats. In the conversion process, you can also set different parameters for the target file with related commands.
Actually, Postscript to Image Converter is an application which is server and developer oriented. In the homepage of the application https://www.verydoc.com/ps-to-image.html there are four kinds of licenses about the application. When you need to buy the application, you can visit the webpage and buy any one you need.
Postscript to Image Converter can be opened in any programming or scripting languages such as Visual Basic, C/C++, Delphi, ASP, PHP, C#, .NET, etc. It can also run in the command line, COM and DLL, in which the conversions can be made consecutively or simultaneously.
You can download the free trial version for the application at www.verydoc.com/ps2img.zip and extract it to your computer. The executable file ps2img.exe in the extracted package will play the role as the called program in the conversion from EPS to PNM.
Firstly, please open MS-DOS interface to input the command line in it. Click “Start”—“Run” to open “Run” dialog box and input “cmd” in “Open” combo box and click “OK” button. Then you will be able to input the command line in the popup MS-DOS interface.
Secondly, input the command line. Before that, you need to know the command line template for of the application:
ps2img [options] <-i PS File> [-o Output]
Then please see the command line examples below:
ps2img –i C:\123.eps –o C:\456.pnm
This example is for converting EPS to PNM only without setting any extra parameters for the target file.
ps2img –r 678x590 –b 4 –i C:\123.eps –o C:\456.pnm
If you want to change the resolution or the bit count for the target file, you can use the options “-r” and “-b”. You can input –r AAA which means to set the horizontal and vertical resolution of the target file as AAA or –r AAAxBBB which means to set the horizontal and vertical resolution as AAA and BBB. Postscript to Image Converter supports to create 1, 4, 8, 8-bit grayscale or 24-bit format.
ps2img –f 3 –l 5 –i C:\123.eps –o C:\456.pnm
In this example, the options “-f” and “-l” are to specify the first and last page number to be converted in the conversion from EPS to PNM, which means to set the page range for the conversion.
ps2img –i D:\*.eps –o D:\*.pnm
You can also use Postscript to Image Converter to make batch conversion like this example shows. This application supports the wildcard character in batch conversion.
Please remember that you need to use the paths of the files that are called in the command line.
At last, please hit “Enter” button to run the conversion from EPS to PNM and you need to wait for several seconds until you get the target file in specified location.