Hi,
Creating slide thumbnail is failing in docker. More OS details are here
cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
// aspose.slides : 21.5.0
// docker OS {Unix 5.4.72.2}
====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
=======================
c# code
using (var p = new Presentation("/app/ppt/SlideThumbnailIssue.pptx"))
{
foreach (var sld in p.Slides)
{
try
{
var c = sld.GetThumbnail(1, 1);
}
catch (Exception ex)
{
}
}
}
PPT: https://bcg01.egnyte.com/dl/jAUdc41Sq3
Link will be deactivated after few days.
Regards,
Sarvesh Mishra