We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Slide Thumbnail is random rotated at 90 degree


Sometimes we are noticing that Slide Thumbnails generated by Slide.GetThumbnail() method is rotated 90 degree (left goes to bottom). We are using aspose.net 21.5.0

This behavior is random so unable to provide any ppt for this. We are also not able to repeat it intentionally.

note: We keep ppt object long opened in aspose. We have noticed this mainly when code is deployed on Docker linux. We have tried with multiple versions of docker linux but we get it on all randomly.

Sarvesh Mishra

Thank you for the query. To investigate this case and help you properly, we need comprehensive data to reproduce the issue on our side. Please try to isolate the problem and share the following:

  • input presentation file
  • code example
  • output image file
  • version of OS

Hi @Andrey_Potapov

I am unable to share ppt due because this is not specific to any ppt. It is random.
I can share more observations like

  1. It usually occurs when we highlight text present in Autoshape=>TextFrame=>Praragraph=>Portion. We set Highlight property present in PortionFormat. Taking thumbnail after this has randomly shown that thumbnail is 90 degree rotated.
  2. Presentation Instance is long lived (not touched for 5 to 10 mins). We create many instances of Presentations (different ppts, loaded via memory streams) at same time.

OS details are here

cat /etc/os-release

PRETTY_NAME=“Debian GNU/Linux 10 (buster)”
NAME=“Debian GNU/Linux”
VERSION=“10 (buster)”

// aspose.slides : 21.5.0
// docker OS {Unix}
====Docker file content====
FROM mcr.microsoft.com/dotnet/aspnet:3.1 AS base
RUN apt-get update -y && apt-get install -y apt-utils
RUN apt-get install -y libgdiplus && apt-get install -y libc6-dev

I hope it helps

Unfortunately, we do not have enough information to investigate this case. You should isolate the problem and share a code example to reproduce it on our side.

@Andrey_Potapov In paid support, does your team help in isolating such issues? I have one more issue related to Imagecollections which is again we are unable to isolate as we get it on randomly.

Paid Support is very useful to escalate the priority for issues and resolve them faster. But even if we add a task to our tracking system, our developer team will still ask for a code example and describe the conditions for reproducing the problem.