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