We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Not able to add image with the new Aspose Pdf 20.8.0 JAVA

Hi

I am using the code for adding an image to a pdf document but when we upgrade to the latest version

The code is not compiled for example:

     page.getContents().add(new Operator.GSave()); the GSave is missing for Operator and more 

did u change something ? i wasn’t able to find a new example

@moshelatin

The only change was in the namespace. All Operators classes and methods have now been placed under the namespace “com.aspose.pdf.operators”. Please use it like com.aspose.pdf.operators.GSave().