Hi guys,
Hi Eduardo,
I have observed the issue shared by you and like to share that the desired feature for getting the slide thumbnail with transparent color is unavailable. An issue with ID 27069 has been created in our issue tracking system to further investigate and resolve the issue and provide the new feature support for creating shape thumbnails with transparent background.
Thanks and Regards,
The issues you have found earlier (filed as SLIDESNET-27069) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
Hi, I have this issue when trying to save the thumbnail/image of a chart.
Aspose v24.7
var chart = newSlide.Shapes.AddChart(ChartType.Line, 0, 0, (retrievedShape.Width / 72) * 96 * 2, (retrievedShape.Height / 72) * 96 * 2);
// insert series and stuff...
using var chartBitmap = chart.GetImage(ShapeThumbnailBounds.Shape, 1, 1);
chartBitmap.Save(imagePath, Aspose.Slides.ImageFormat.Png);
Presentation.Save("C:\\TEMP\\temp.pptx", SaveFormat.Pptx);
Saved Image (no transparency):
getImage_v24_7.png (70.6 KB)
Saved Presentation (chart has transparency):
save_v24_7.png (33.7 KB)
Aspose v24.3
var chart = newSlide.Shapes.AddChart(ChartType.Line, 0, 0, (retrievedShape.Width / 72) * 96 * 2, (retrievedShape.Height / 72) * 96 * 2);
// insert series and stuff...
using var chartBitmap = chart.GetThumbnail(ShapeThumbnailBounds.Shape, 1, 1);
chartBitmap.Save(imagePath, ImageFormat.Png);
Presentation.Save("C:\\TEMP\\temp.pptx", SaveFormat.Pptx);
Saved Image (no transparency):
getThumbnail_v24_3.png (36.1 KB)
Saved Presentation (chart has transparency):
save_v24_3.png (13.5 KB)
Nevermind, I removed the white fill and noticed that the chart does have transparency but for some reason the light grey shaded area (solid) gets moved to the front…
image.png (44.5 KB)