Fix tiff export
What does the merge request do?
Close #422 (closed)
Implementation notes
PIL really wants to have a seekable stream (https://github.com/python-pillow/Pillow/blob/main/src/PIL/ImageFile.py#L507), a simple wrapper like Tellable in zipfile is not enough. So here it goes.
On Windows, the export seemed to work previously because the stream passed by Inkscape is incorrectly characterized as seekable.
Summary for release notes
The TIFF export now also works on Linux.
Checklist
-
Add unit tests (if applicable) -
Changes to inkex/
are well documented -
Clean merge request history