Slide 6 (and several others) in this file have images that are inverted when exported to to a Bitmap.
public virtual Bitmap ExportSlideAsImage(int slideNumber, Size size)
{
int slideNumberToExport = slideNumber - 1 < 0 ? 0 : slideNumber;
ISlide slide = _presentation.Slides[slideNumberToExport];
Bitmap newImage = new Bitmap(size.Width, size.Height);
using (Graphics graphics = Graphics.FromImage(newImage))
{
slide.RenderToGraphics(new RenderingOptions(), graphics, size);
}
#if DEBUG
newImage.Save($“C:\temp\aspose_testing\{slideNumberToExport}.png”, ImageFormat.Png);
#endif
return newImage;
}
[Link]
NOTE. This file is less than 50MB and it will not let me attach it to this page.
https://www.conferenceharvester.com/test.zip