EPS conversion with resolution and dpi

Hello, Is it possible to convert EPS file to PNG/JPG (any raster type) and set image size. I know that EPS is vector graphic format any available conversion functionality extract image with size embedded in file. I want to convert EPS to image with 300dpi.


You can convert EPS to PNG by using Aspose.Page for .NET and specify the image size as well. Please check the below documentation article:

I have following code:

    FileInputStream inputStream = new FileInputStream(inputEPS);
PsDocument document = new PsDocument(inputStream);
PngSaveOptions options = new PngSaveOptions();
ImageDevice device = new ImageDevice(new Dimension(1000, 1000), ImageFormat.PNG);  //    device.setSize(new Dimension(1000, 1000));
document.save(device, options);
try (FileImageOutputStream fileImageOutputStream = new FileImageOutputStream(
    new File(outputEPS)
)) {

And here is image which I use cow.zip (3.0 MB)
But it does not work as I expected and result image does not match requirements


Can you please also share an expected output image file that you want to produce using the API? We will investigate this case accordingly.

I want to have image which contains content of EPS but with expected size. cow.jpg (96.1 KB)


We have logged an issue as PAGEJAVA-171 in our issue tracking system. We will further look into its details and keep you posted with the status of its rectification. Please be patient and spare us some time.

We are sorry for the inconvenience.

Hi, any updates on this ticket?

The issues you have found earlier (filed as PAGEJAVA-171) have been fixed in this update.