We are using Aspose version 6.1.0.0 within our application running on Windows and Mac platforms to convert PowerPoint presentation slide decks into a series of jpeg images that we then present/display from within our application.
Aspose threw an ArgumentException and crashed our app when it was processing an imported PowerPoint presentation and encountered what it apparently considered an invalid background theme for the slide deck. The relevant line from our application error logging gives this information:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> Libronix.Utility.Threading.AsyncWorkException: Unhandled exception in asynchronous work. —> System.ArgumentException: ‘281’ is not a valid value for ‘red’. ‘red’ should be greater or equal to 0 and less than or equal to 255.
I have attached a .pptx file that contains one slide with the offending theme that can trigger the exception.