Based on your examples, I have the following code(fyi: this is a condensed version) to put some charts from a spreadsheet to a presentation(pptx).
This is producing a poor quality image in the presentation. It particularly shows on a pie chart with jagged edges.
I am using 4.1 version of aspose.slides. Is there a way i can set the quality of the image? Please suggest a better solution.
imgChart = System.Drawing.Bitmap.FromStream(strm);
byte chartOleData = new byte[wbStream.Length];
strm.Position = 0;
strm.Read(chartOleData, 0, chartOleData.Length);
Aspose.Slides.Pptx.OleObjectFrameEx oof = null;
oof = sld.Shapes.AddOleObjectFrame(x, 35, oleWidth, oleHeight, "Excel.Sheet.12", chartOleData);oof.Image = pres.Images.AddImage((System.Drawing.Image)imgChart);