Free Support Forum - aspose.com

PS to PNG

When I use the com.aspose.eps.device.ImageDevice class to convert a PostScript file to a PNG image, I get an image where the text are written on top of each other.
Example files.zip (1.2 MB)

@johan.walter

We tried to convert your PS file into PNG using Aspose.Page for .Java 19.11 and were unable to notice the text overlapping issue. For your kind reference, output images are also attached. Would you kindly try using latest version of the API and in case issue still persists, please feel free to let us know by sharing the code snippet you are using. We will again test the scenario in our environment and address it accordingly.

PSToImage0.png (67.7 KB)
PSToImage1.png (8.9 KB)

When running the example, I also get some exceptions:
WARNING: class com.aspose.page.internal.lI.I7: writeCap() not implemented.
WARNING: class com.aspose.page.internal.lI.I7: writePaint(Color) not implemented.

@johan.walter

Would you kindly share your environment details like OS Name and Version and JDK Version. We will test the scenario in our environment and address it accordingly.