I downloaded the whole map from cassini and its size is around 8.5gb.
If someone can transform this hierarchy from an image size of 512x512 to a size of 256x256, we might have a cassini map available in gramps.
A script to do that should be very interesting.
Don’t forget the format must be #Z/#Y/#X
I’m not sure this what you want to do but XnView, freeware for any OS flavour, have a batch function. Select pictures you want to change, i.e to resize them, define wanted ratio, here 50%, define an output directory if you want and let’s go.
If you put them side by side: ![test 4 x4_1|250x250](upload://v3fLfZrWJZXShPkr0D9l8SCtn4c.jpeg)![test 4 x4_2|250x250](upload://kGYQEX9Kkhj9uCcINr9DcJIbrA0.jpeg)![test 4 x4_3|250x250](upload://5FxASFiMMzCEXd6XROsoTtavWbA.jpeg)![test 4 x4_4|250x250](upload://qsZ4mPntqOnwxJXk1brw4UC1ZhR.jpeg)
On XnView website you can find debian distributions:
If you want I can try to cut some of your pictures, give me a ftp url to download them
This is a GUI application. Does this application exist in a “batch” way? 182,000 images are impossible to divide with this tool. It would take too long.
After that, the problem will be to manage the hierarchical place of these images in #Z/#Y/#X
I think it will be a very difficult and long task.
XnView* are not free applications because the sources are not available.
I think it will be easier with a real free tool called ImageMagick. It’s available in batch mode.
We can do that with : convert -crop 256x256 img.jpg img_%d.jpg
I don’t know why you need to crop images but I find this, IIIF and a python library to use this normalization. It is used by Ligeo [fr], a french company which works for some french archives centers to crop registers images in little parts to display them more fastly. Does this could help you?
I don’t want to crop the images but to divide them.
gramps uses a library which uses the formats provided by openstreetmap or googlemap, ie: http://x.y.z/#Z/#Y/#X #Z is the zoom. #X, # Y is the position of the tile on the map. each tile is size 256x256
The rumsey site uses an alternate access method and its tiles are 512x512. So I have to divide a 512x512 tile into 4 256x256 tiles.