matbryan52 / image-viewer

MIT License
3 stars 1 forks source link

Image Viewer

Demonstrate use of LiberTEM-panel-ui <https://github.com/LiberTEM/LiberTEM-panel-ui>_ to build a simple image viewer application.

Integrates into Jupyter using jupyter-server-proxy <https://github.com/jupyterhub/jupyter-server-proxy>_.

Launch via Binder with default image:

<https://mybinder.org/v2/gh/matbryan52/image-viewer/HEAD?urlpath=/image-viewer?default=true>_

.. image:: https://mybinder.org/badge_logo.svg :target: https://mybinder.org/v2/gh/matbryan52/image-viewer/HEAD?urlpath=/image-viewer?default=true

Directly load an image from the :code:data directory:

<https://mybinder.org/v2/gh/matbryan52/image-viewer/HEAD?urlpath=/image-viewer?path=./data/logo.png>_

.. image:: https://mybinder.org/badge_logo.svg :target: https://mybinder.org/v2/gh/matbryan52/image-viewer/HEAD?urlpath=/image-viewer?path=./data/logo.png

Development server

.. code-block:: console

$ panel serve src/image_viewer/app.py --port 9123 --dev

Notes