Quality of Thumbnails Is Very Poor when Converting Shapes to Images in C++

Hi,

I am trying to get thumbnail images for certain shapes, but the quality of thumbnails is very poor. Please find attached the thumbnail image, code below.

ppt_tb_image_1.png (1.8 KB)

ppt_tb_image_21.png (575 Bytes)

// Save ppt image as file
auto bitmap = srcShape->GetImage();
bitmap->Save(System::String(imagePathStr.c_str()));

Please note that I am using GetImage() API to fetch thumbnail and of default size.
I am also tried with smaller size but still the image quality does not improve. Some thumbnail images have text which seems to be faded on the edges. I would like a better crisp image.

Please let me know how a better quality image can be extracted.
Looking forward for the solution.
Thanks

@pankajku,
Thank you for describing the issue.

I was unable to reproduce the problem you described. Please share the following files and information:

  • sample presentation file
  • output image file
  • OS version on which the code was executed
  • Aspose.Slides version you used

ppt_image_1.png (86.6 KB)

thumbnail img quality.pptx.zip (1.4 MB)

OS Version - 13.2
Aspose.Slides version - 24.5

@pankajku,
Thank you for the details. I’ve reproduced the problem with the poor quality when converting the shape from the PowerPoint presentation to an image.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): SLIDESCPP-3996

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

Is there any other API to get shape’s image which is not broken and of good quality?

@pankajku,
Unfortunately, I couldn’t find another way to get a good-quality image of the shape. Our developers will investigate the issue. I will keep you updated. We apologize for any inconvenience caused.