PyMos icon indicating copy to clipboard operation
PyMos copied to clipboard

List of images used for mosaic

Open oldenboom opened this issue 8 years ago • 1 comments

Any chance if it is somehow possible to retrieve a list of the actual images used to build the mosaic? I'd like to be able to somehow move my mouse over the mosaic image and be able to click each and every image in the mosaic and then visit for instance a page with some background info on that very image.

I already looked around in the sourcecode for a sec but didn't find a solution right away.

oldenboom avatar Feb 07 '17 10:02 oldenboom

PyMos offers to spit out image files.

There is quite a good chance that it's possible to retrieve a list of actual images used to build the mosaic. One could hook a logger, based on an argument, it could also provide you a JSON describing the MxP images and their URLs.

You could then use this JSON to drive a UI - maybe you could do it in WebGL for performance. You could change camera angle with mouse movements. Do zoom in/out based on movements when mouse is down. Keep highlighting a target image with a border perhaps. On click - it will fetch the URL, render an enlarged version of the mosaic element image.

ideamonk avatar Feb 08 '17 21:02 ideamonk