It has multiple advantages:
* It processes the images in memory, without writing intermediary files
* It supports multithreading (though zlib fails non-reproducibly with
some files, so it falls back to single-threading)
* It does not spawn an army of subprocesses
* It shows a better progress bar