Free Support Forum - aspose.com

Image resolution

Hi,

The Image Resolution is always showing the original image resolution which I used for inserting into word doc even if I enlarged/shrink the image in the document.

foreach (Shape docImagein doc.GetChildNodes(NodeType.Shape, true))

{

imageResolution= image.ImageData.ImageSize.HorizontalResolution;

}



Ex: Insert same image in a word doc multiple times .Then resize the image in the doc using MZ word for a particular image. When you check using Aspose.word we are getting the same resolution for all the images.




Thanks

Jaison Punnose


Hi Jaison,

I did not find any evidence where MS Word changes the resolution of the images. You can resize the shape which contains image but actual dimensions of the image remain the same. You can test it by resizing an image in MS Word and then right clicking on the image and saving it as an image file. Upon checking the details of image, you will find that nothing has changed for resized image.

Best Regards,