{"id":26065091,"url":"https://github.com/matbryan52/image-viewer","last_synced_at":"2025-04-11T14:21:52.450Z","repository":{"id":204244799,"uuid":"711405271","full_name":"matbryan52/image-viewer","owner":"matbryan52","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-11T08:41:00.000Z","size":92,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T10:37:35.733Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matbryan52.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-29T06:48:05.000Z","updated_at":"2024-12-11T08:41:04.000Z","dependencies_parsed_at":"2023-11-07T12:25:31.539Z","dependency_job_id":"fd2ef7c8-37b4-41e8-b740-bc0073f8864f","html_url":"https://github.com/matbryan52/image-viewer","commit_stats":null,"previous_names":["matbryan52/image-viewer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matbryan52%2Fimage-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matbryan52%2Fimage-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matbryan52%2Fimage-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matbryan52%2Fimage-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matbryan52","download_url":"https://codeload.github.com/matbryan52/image-viewer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248418148,"owners_count":21100191,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-08T18:54:09.742Z","updated_at":"2025-04-11T14:21:52.423Z","avatar_url":"https://github.com/matbryan52.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Image Viewer\n============\n\nDemonstrate use of `LiberTEM-panel-ui \u003chttps://github.com/LiberTEM/LiberTEM-panel-ui\u003e`_\nto build a simple image viewer application.\n\nIntegrates into Jupyter using\n`jupyter-server-proxy \u003chttps://github.com/jupyterhub/jupyter-server-proxy\u003e`_.\n\nLaunch via Binder with default image:\n\n`\u003chttps://mybinder.org/v2/gh/matbryan52/image-viewer/HEAD?urlpath=/image-viewer?default=true\u003e`_\n\n.. image:: https://mybinder.org/badge_logo.svg\n :target: https://mybinder.org/v2/gh/matbryan52/image-viewer/HEAD?urlpath=/image-viewer?default=true\n\n\nDirectly load an image from the :code:`data` directory:\n\n`\u003chttps://mybinder.org/v2/gh/matbryan52/image-viewer/HEAD?urlpath=/image-viewer?path=./data/logo.png\u003e`_\n\n.. image:: https://mybinder.org/badge_logo.svg\n :target: https://mybinder.org/v2/gh/matbryan52/image-viewer/HEAD?urlpath=/image-viewer?path=./data/logo.png\n\n\nDevelopment server\n------------------\n\n.. code-block:: console\n\n    $ panel serve src/image_viewer/app.py --port 9123 --dev\n\nNotes\n-----\n\n- Load directly from file on the server, or external URL, via url-arguments (:code:`?url=`, :code:`?path=`)\n- Data reading using :code:`rosettasciio`, delegates to :code:`skimage.io.imread` for normal images.\n- Multi-channel images (stacks, named channels, 3-D, 4-D data cubes) supported where :code:`rosettasciio`\n  generates compatible axis annotations.\n- Image display downsampling enabled by default above a certain size\n- Image toolbox (adjustable color map etc)\n- RGB(A) colour image support is possible, but needs work to have downsampling in this mode\n- The page is a normal :code:`Panel` layout so can add text / metadata / more interactivity easily\n- The same base could be used for a 4D-STEM viewer or Spectrum viewer\n  based on what is already implemented in :code:`LiberTEM-panel-ui`. This is\n  a minimal example which only displays a 2D greyscale image.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatbryan52%2Fimage-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatbryan52%2Fimage-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatbryan52%2Fimage-viewer/lists"}