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

Free Support Forum - aspose.com

About the Aspose.PDF for .NET(ubuntu thumbnail error)

I created thumnail(png/jpg/tiff) by pdf document. (Aspose.PDF 22.2.0)

It was created normally in Windows, but a black rectangle is displayed in ubuntu.
I installed msttcorefonts and gdiplus.
And add fontsource like below
FontRepository.Sources.Add(new FolderFontSource("/usr/share/fonts/truetype/msttcorefonts/"));

If this issue is solved, I will purchase it.

[System Information]

  • Ubuntu
    ** No LSB modules are available.
    ** Distributor ID: Ubuntu
    ** Description: Ubuntu 20.04.3 LTS
    ** Release: 20.04
    ** Codename: focal
  • dotnet core
    ** Host (useful for support):
    *** Version: 3.1.22
    *** Commit: 35fa579a30
    ** .NET Core runtimes installed:
    *** Microsoft.NETCore.App 3.1.22 [/dotnetcore/shared/Microsoft.NETCore.App]
    windows.png (96.5 KB)
    png_ubuntu.png (60.5 KB)input01.pdf (69.0 KB)


We have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as PDFNET-51401. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.