I created thumnail(png/jpg/tiff) by pdf document. (Aspose.PDF 22.2.0)
– https://docs.aspose.com/pdf/net/convert-pdf-to-images-format/
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)