>>8047679Sure, here goes:
https://dpaste.org/mAs9VI spruced it up for ya. It's not so little anymore, but it should be easier to use.
I only tested it on Linux and Windows, but I suppose it should also work on macOS.
You'll need the `requests` and `pillow` Python libraries.
Ideally, you should also have jpegtran, but it'll work without it.
It's just that the result will be inferior (either a recompressed JPEG or an overly big PNG).
You can change the `OUTPUT`, `TILES_DIR` and `URL` constants at the top.
To get the URL, look in the network tab of your browser's dev tool (press F12).
Just remove anything after `.tif` (e.g. `_files/13/4_2.jpg`).
The script could theoritically work with other IIPImage servers, but I haven't tested it.
If you have any problems, make a thread on /wsr/, to avoid clogging the IMT thread.