Skip to content

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:

  1. Change default "interlacing" to false. And because this obsoletes the other suggestions somewhat:
  2. 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
Edited by Jonathan Neuhauser

Merge request reports