Crash when using Generate Document on a template with images with transparency
1
Modeler Version 5.21.0 This is probably a Ghostscript / library issue (I've seen it in other software also), but when using Generate Document to create a PDF, the app seems to crash without a helpful message if the pdf contains any images with transparency (Specifically PNG, but probably any others). The crash is caused because there's no valid colour to paint the canvas at those points. It may be possible to handle this error more gracefully or report more useful info when it occurs. It is possible to mitigate the problem by using a custom style on the Document Template to specify the background colour. Eg: background-color: #fff; It might be worth considering adding a configurable "Background colour" for Document Template, with a default of white (?)