Postprocessing on png images
Postprocessing script is not correctly invoked in case of multiple png images output.
For example having 4 page document, when saving to PNG with filename in save dialog set as "test" the postprocessing script is invoked only once with arguments "image/png" "true" "/path/test.png" while "test_orig.png" nor "test.png" exists and after that the exporting is acually performed to files "/path/test-1.png" "/path/test-2.png" ... "/path/test-4.png"
I believe problem is in BookSaver.save_async
where the postprocessign is invoked on file
but in case if write_multifile
it will match output file only in case of one page.
Either the postprocessign have to be moved directly to write_multifile
and write_pdf
methods or those methods will have to return collection of filenames to process
Also I'm not sure how the keep-original option is working, in that case the file saved to by either method should have "_orig" appended to the name and I cannot find it.
OS: Manjaro Linux Version: 44.0-2