I am using aspose.pdf . I am adding an image to my document without applying any height or width scaling factors to get its original size in the document. But when I saw in the document that the image size is not in its exact dimensions. but when I copy the same image and paste it in the paint, I am able to see the original dimensions.
below is the code which I am using,
Aspose.Pdf.Generator.Pdf imagePdf = new Aspose.Pdf.Generator.Pdf();
Aspose.Pdf.Generator.Section mainSection = imagePdf.Sections.Add();
Aspose.Pdf.Generator.Image myImage = new Aspose.Pdf.Generator.Image();
myImage .ImageInfo.File = path;
myImage .ImageInfo.ImageFileType = Aspose.Pdf.Generator.ImageFileType.Png;
Please suggest the solution.