publiclab / Leaflet.DistortableImage

A Leaflet extension to distort or "rubber sheet" images
https://publiclab.github.io/Leaflet.DistortableImage/examples/
BSD 2-Clause "Simplified" License
272 stars 285 forks source link

Client-side tile cutting #70

Open jywarren opened 7 years ago

jywarren commented 7 years ago

Sharp (http://sharp.dimens.io/en/stable/) says;

Deep Zoom image pyramids can be generated, suitable for use with "slippy map" tile viewers like OpenSeadragon and Leaflet.

Whoa. Being able to cut up distortable images would be pretty amazing. Perhaps using the webgl-distort full-resolution distortion implementation:

https://github.com/jywarren/webgl-distort/issues/8

Ah, but this probably wouldn't Browserify, as Sharp uses a back-end image processor. But JIMP could work... https://www.npmjs.com/package/jimp

jywarren commented 6 years ago

We could now use Image Sequencer https://github.com/publiclab/image-sequencer/

After webgl-distort to generate the initial image, then image-sequencer to chop it up.