export-filename misreads directory with ('.') in name as an extension and writes to wrong place
Steps to reproduce:
inkscape --export-filename=testpng --export-type=png test.svg
Exports to testpng.png
inkscape --export-filename=out.dir/testpng --export-type=png test.svg
Exports to out.png
(seems it see .dir/testpng
as extension and replaces it?)
What happened?
Export filename is affected when explicitly setting file type.
What should have happened?
Export filename not affected.
With inkscape 0.9 the filename is not affected.
Inkscape Version and Operating System:
- Inkscape Version: 1.0 (4035a4fb, 2020-05-01)
- Operating System: macOS
- Operating System version: 10.15.4 (19E287)
Edited by Mattias Wadman