I have a slide with maths matrix equation. I use Aspose version 25.5 to get image of this shape. I see that the matrix determinant bars (vertical bars enclosing the matrix) appear shorter in the image obtained from Aspose as compared to their original height in the PPTX. I am attaching the PPTX and image of the second slide shape obtained from Aspose.
using Aspose.Slides;
using Aspose.Slides.Export;
using System.Drawing.Imaging;
class Program
{
static void Main(string[] args)
{
try
{
// Load the presentation
using (Presentation presentation = new Presentation("sample.pptx"))
{
int shapeCounter = 1;
// Loop through all slides
for (int slideIndex = 0; slideIndex < presentation.Slides.Count; slideIndex++)
{
// Get current slide
ISlide slide = presentation.Slides[slideIndex];
// Process each shape in the current slide
foreach (var curShape in slide.Shapes)
{
using (var curImage = curShape.GetImage())
{
// Save the image with a unique name including slide number
string fileName = $"slide_{slideIndex + 1}_shape_{shapeCounter}.png";
curImage.Save(fileName, Aspose.Slides.ImageFormat.Png);
Console.WriteLine($"Image saved successfully as {fileName}");
shapeCounter++;
}
}
}
}
}
catch (Exception ex)
{
Console.WriteLine($"An error occurred: {ex.Message}");
}
}
}
@bhav,
Thank you for reporting on the issue. I’ve reproduced the problem with displaying the vertical bars when converting the shape to an image. We apologize for any inconvenience caused.
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): SLIDESNET-44958
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.
This is unacceptable especially, since it has been almost open for 7-8 months now without clear timelines. We can not keep our customers waiting for resolution for so long.
Any visibility into the timelines would greatly help us manage our customers’ expectations. Pls suggest steps we can take to get this prioritized. Thank you
We double-checked the case, but we still could not reproduce a consistent scenario in which the display shows long vertical lines on the screen.
We tested the presentation with different versions of Microsoft Office on Windows 10 and Windows 11. In all repeated tests, the vertical lines were displayed as short.
The behavior also cannot be reproduced in the online editor (Office 365). This most likely indicates that the issue is not related to the presentation content itself, but rather to differences in the local formula rendering mechanism between the desktop and online versions of Microsoft Office, or to an environmental peculiarity of desktop rendering on a specific machine.
At this point, we do not have a reproducible scenario that could be used as a basis for further investigation of this behavior as a stable defect.
@bhav,
Here are the latest results of our investigation.
Tested some PowerPoint versions:
Version
Build / Platform
Result
2607
16.0.20228.20110, Click-to-Run
long
2605
16.0.20026.20166, 64-bit
long (user) short (me)
2604
16.0.19929.20086, 64-bit
long
2508
16.0.19127.20302, 32-bit
short
2408
16.0.17928.20148, 64-bit
short
2109
16.0.14430.20306, Click-to-Run
short
2002
16.0.12527.22286, Click-to-Run
short
—
15.0.5589.1000, 32-bit, Office 2013
short
—
16.0.20518.40577, PowerPoint Online
short
—
16.0.20430.20032, Android
short
The results do not provide a clear reference for the expected length of the vertical bars. PowerPoint renders the same formula differently, and we observed both variants with Office build 16.0.20026.20166. Therefore, we cannot currently determine which result is correct: short or long bars.
The difference may be related to the environment, such as the version of a specific Office module or system component that is not reflected in the general build number, or the hardware configuration. The exact cause has not yet been identified.