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

Free Support Forum - aspose.com

Image Operators not supported

Just loaded the v6.8 PDF dll against the PDF demo projects and got errors on all Image Operators. (See attached)


Tried on 6.7 and 6.6 same errors. Tried on 6.5 and previous All good.

Did something change and the Demo was not updated or are the versions bugged.
My only change was changing the reference.
Yes, Cleaned solution made sure new DLL was being includes all the basics.


Hi Shawn,

Thank you for sharing the details.

Kindly use the latest version of Aspose.Pdf v6.8 and change the operator as mentioned below.

//using GSave operator: this operator saves current graphics state

Aspose.Pdf.Operator.GSave() instead of q Operator

//using ConcatenateMatrix operator: defines how image must be placed

Aspose.Pdf.Operator.ConcatenateMatrix(matrix) instead of cm

//using GRestore operator: this operator restores graphics state

Aspose.Pdf.Operator.GRestore() instead of Q Operator

For more details about some changes in operators, please visit: Some changes in Operator class names

Also, we will update our documentation with the latest update soon. Sorry for the inconvenience.

Thanks & Regards,