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

Free Support Forum - aspose.com

The example ImageInformation cannot get pic?

<a rel=“nofollow” href=“https://gist.github.com/aspose-pdf/7e1330795d76012fcb04248bb81d45b3#file-examples-csharp-asposepdf-images-imageinformation-imageinformation-cs” style=“border: 0px; outline: 0px; color: rgb(102, 102, 102); text-decoration: none; font-weight: 600; font-family: -apple-system, BlinkMacSystemFont, “Segoe UI”, Helvetica, Arial, sans-serif, “Apple Color Emoji”, “Segoe UI Emoji”, “Segoe UI Symbol”; font-size: 12px;”>Examples-CSharp-AsposePDF-Images-ImageInformation-ImageInformation.cs

string dataDir = RunExamples.GetDataDir_AsposePdf_Images();
Document doc = new Document(dataDir+ “ImageInformation.pdf”);
int defaultResolution = 72;
System.Collections.Stack graphicsState = new System.Collections.Stack();
System.Collections.ArrayList imageNames = new System.Collections.ArrayList(doc.Pages[1].Resources.Images.Names);
graphicsState.Push(new System.Drawing.Drawing2D.Matrix(1, 0, 0, 1, 0, 0));

the above code cannot got anything?
It seems pdf has no picture?

Hello zhu,

Thanks for using our API’s.

Above example is working fine. Please try to run example with valid license.

Best Regards,