When using asian character sets all the characters on the thumbnail become squares. Does aspose support generating thumbnail images of slides written using unicode characters? If so what extra steps are necessary so that the thumbnails render appropriately?
There are no extra steps; it generates the image with Unicode characters. Please provide your source presentation, so that we could investigate and fix this bug.
This is the code I’m using to convert the powerpoint files to thumbnails. I’ve attached an example slide and the resulting thumbnail.
using System; using System.Collections.Generic; using System.Text; using Aspose.Slides; using System.Drawing; using System.Drawing.Imaging; using System.IO;
namespace LargeThumbnailCreator { class Program { static void Main(string[] args) { License lic = new License(); lic.SetLicense("Aspose.Slides.lic"); string baseDir = Properties.Settings.Default.BasePath; string slidesDir = Properties.Settings.Default.SourcePPTFolder; string outDir = Properties.Settings.Default.OutJPGFolder; System.IO.DirectoryInfo dir = new DirectoryInfo(Path.Combine(baseDir, slidesDir));
FileInfo[] files = dir.GetFiles("*.pot"); int count = 1;
foreach (FileInfo file in files) { string mess = string.Format("File {0} of {1}", count, files.Length); Console.WriteLine(mess); System.Diagnostics.Trace.WriteLine(mess);
//get full size image at 75% jpg quality Image fullimage = GetSlideImage(file.FullName, 0, 1, .9398, "");
if (fullimage == null) continue;
foreach (string percent in Properties.Settings.Default.Percents) {
try { double ratio = Convert.ToDouble(percent) / 100;
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.