Fix default options of Optimized PNG and add better error message on optipng fail
What does the merge request do?
Apply partial fix suggested in #395
As suggested in #395, the following changes were made:
- Change default "interlacing" to false. And because this obsoletes the other suggestions somewhat:
- User friendly error message when -o0 fails because of the interlacing mode (if possible)
Summary for release notes
The "Optimized PNG" export doesn't crash anymore when running it with default parameters.
Checklist
-
Add unit tests (if applicable) -
Changes to inkex/
are well documented -
Clean merge request history