Free Support Forum -

When word convert jpg highly and width is too big

The following:
Aspose.Words.Document m_doc = Aspose.Words.Document(@path);
Aspose.Words.SaveFormat p = Aspose.Words.SaveFormat.Jpeg;
Aspose.Words.Saving.ImageSaveOptions PIO = new Aspose.Words.Saving.ImageSaveOptions§;
PIO.SaveFormat = Aspose.Words.SaveFormat.Jpeg;
PIO.PageIndex = nStars;
PIO.PageCount = nEnds;
PIO.JpegQuality = 100;
PIO.Resolution = 300;
Aspose.Words.Saving.SaveOutputParameters get_result = m_doc.Save(SavaName + nStars + “.jpg”, PIO);

The generated image highly = 2480,width = 3508
How to set highly and width ?


Thanks for your inquiry. To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input Word document.
  • Please attach the output image file that shows the undesired behavior.
  • Please attach the expected output shows the desired behavior.

Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.