{"id":28956945,"url":"https://github.com/developmentseed/titiler-image","last_synced_at":"2025-06-23T21:41:15.911Z","repository":{"id":66924995,"uuid":"581162037","full_name":"developmentseed/titiler-image","owner":"developmentseed","description":"TiTiler extension to work with non-geo images","archived":false,"fork":false,"pushed_at":"2024-05-23T13:45:53.000Z","size":25712,"stargazers_count":18,"open_issues_count":4,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-07-09T08:23:35.007Z","etag":null,"topics":["iiif"],"latest_commit_sha":null,"homepage":"","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/developmentseed.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":"CONTRIBUTING.md","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}},"created_at":"2022-12-22T12:43:51.000Z","updated_at":"2024-05-23T13:45:57.000Z","dependencies_parsed_at":"2024-04-04T23:41:14.717Z","dependency_job_id":null,"html_url":"https://github.com/developmentseed/titiler-image","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/developmentseed/titiler-image","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developmentseed%2Ftitiler-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developmentseed%2Ftitiler-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developmentseed%2Ftitiler-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developmentseed%2Ftitiler-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/developmentseed","download_url":"https://codeload.github.com/developmentseed/titiler-image/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developmentseed%2Ftitiler-image/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261561276,"owners_count":23177563,"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":["iiif"],"created_at":"2025-06-23T21:41:14.074Z","updated_at":"2025-06-23T21:41:15.897Z","avatar_url":"https://github.com/developmentseed.png","language":"Python","readme":"\u003cp align=\"center\"\u003e\n    \u003cimg width=\"1000\" src=\"https://github.com/developmentseed/titiler-image/assets/10407788/2f55e9b6-5063-46f9-88c3-9f7d8cf0f8da\"\u003e\n  \u003cp align=\"center\"\u003eTiTiler Image.\u003c/p\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/developmentseed/titiler-image/actions?query=workflow%3ACI\" target=\"_blank\"\u003e\n      \u003cimg src=\"https://github.com/developmentseed/titiler-image/workflows/CI/badge.svg\" alt=\"Test\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://codecov.io/gh/developmentseed/titiler-image\" target=\"_blank\"\u003e\n      \u003cimg src=\"https://codecov.io/gh/developmentseed/titiler-image/branch/main/graph/badge.svg\" alt=\"Coverage\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://pypi.org/project/titiler.image\" target=\"_blank\"\u003e\n      \u003cimg src=\"https://img.shields.io/pypi/v/titiler.image?color=%2334D058\u0026label=pypi%20package\" alt=\"Package version\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com//developmentseed/titiler-image/blob/main/LICENSE\" target=\"_blank\"\u003e\n      \u003cimg src=\"https://img.shields.io/github/license/developmentseed/titiler-image.svg\" alt=\"License\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n**Source Code**: \u003ca href=\"https://github.com/developmentseed/titiler-image\" target=\"_blank\"\u003ehttps://github.com/developmentseed/titiler-image\u003c/a\u003e\n\n---\n\n`TiTiler.image` is a [titiler](https://github.com/developmentseed/titiler) extension to work with non-geo images.\n\n## Installation\n\nTo install from PyPI and run:\n\n```bash\n# Make sure to have pip up to date\npython -m pip install -U pip\n\npython -m pip install titiler.image\n```\n\nTo install from sources and run for development:\n\n```bash\npython -m pip install -e .\n```\n\n## Launch\n\n```bash\npython -m pip install uvicorn\npython -m uvicorn titiler.image.main:app --reload\n```\n\n### Using Docker\n\n```bash\ngit clone https://github.com/developmentseed/titiler-image.git\ncd titiler-pgstac\ndocker-compose up --build tiler\n```\n\nIt runs `titiler.image` using Gunicorn web server. To run Uvicorn based version:\n\n```bash\ndocker-compose up --build tiler-uvicorn\n```\n\n## Factories\n\n`titiler-image` provide multiple endpoint Factories (see https://developmentseed.org/titiler/advanced/tiler_factories/)\n\n### MetadataFactory\n\n#### Endpoints\n\n- `/info?url={...}`\n\n- `/metadata?url={...}`\n\n```python\nfrom fastapi import FastAPI\nfrom titiler.image.factory import MetadataFactory\n\napp = FastAPI()\nmeta = MetadataFactory()\napp.include_router(meta.router)\n```\n\n### IIIFFactory\n\nSpecification: https://iiif.io/api/image/3.0/\n\n#### Endpoints\n\n- `/{identifier}/info.json`: IIIF Image Information Request\n\n- `/{identifier}/{region}/{size}/{rotation}/{quality}.{format}`: IIIF Image Request\n\n- `/{identifier}`: Redirect do the Image Information Request endpoint or return a simple IIIF viewer (based on headers `Accept` value)\n\n\n```python\nfrom fastapi import FastAPI\nfrom titiler.image.factory import IIIFFactory\n\napp = FastAPI()\niiif = IIIFFactory()\napp.include_router(iiif.router)\n```\n\n### LocalTilerFactory\n\n#### Endpoints\n\n- `/tilejson.json?url={...}`: TileJSON document\n\n- `/tiles/{z}/{x}/{y}[@{scale}x.{format}]?url={...}`: Tiles endpoint\n\n- `/viewer?url={...}`: Simple local tiles viewer\n\n```python\nfrom fastapi import FastAPI\nfrom titiler.image.factory import LocalTilerFactory\n\napp = FastAPI()\nlocal_tiles = LocalTilerFactory()\napp.include_router(local_tiles.router)\n```\n\n### GeoTilerFactory\n\nThis is a lightweight version of `titiler.core.factory.TilerFactory`.\n\n#### Endpoints\n\n- `[/TileMatrixSetId]/tilejson.json?url={...}`: TileJSON document\n\n- `/tiles[/TileMatrixSetId]/{z}/{x}/{y}[@{scale}x.{format}]?url={...}`: Tiles endpoint\n\n- `[/{TileMatrixSetId}]/map?url={...}`: Simple dataset viewer\n\n```python\nfrom fastapi import FastAPI\nfrom titiler.image.factory import GeoTilerFactory\n\napp = FastAPI()\ngeo = GeoTilerFactory()\napp.include_router(geo.router)\n```\n\n### All together\n\n```python\napp = FastAPI()\n\nmeta = MetadataFactory()\napp.include_router(meta.router, tags=[\"Metadata\"])\n\niiif = IIIFFactory(router_prefix=\"/iiif\")\napp.include_router(iiif.router, tags=[\"IIIF\"], prefix=\"/iiif\")\n\nimage_tiles = LocalTilerFactory(router_prefix=\"/image\")\napp.include_router(image_tiles.router, tags=[\"Local Tiles\"], prefix=\"/image\")\n\ngeo_tiles = GeoTilerFactory(\n    reader=GCPSReader, reader_dependency=GCPSParams, router_prefix=\"/geo\"\n)\napp.include_router(geo_tiles.router, tags=[\"Geo Tiles\"], prefix=\"/geo\")\n```\n\n![](https://github.com/developmentseed/titiler-image/assets/10407788/f51d3272-020f-4982-baf6-7467aa18ee15)\n\n\n## Contribution \u0026 Development\n\nSee [CONTRIBUTING.md](https://github.com//developmentseed/titiler-image/blob/main/CONTRIBUTING.md)\n\n## License\n\nSee [LICENSE](https://github.com//developmentseed/titiler-image/blob/main/LICENSE)\n\n## Authors\n\nSee [contributors](https://github.com/developmentseed/titiler-image/graphs/contributors) for a listing of individual contributors.\n\n## Changes\n\nSee [CHANGES.md](https://github.com/developmentseed/titiler-image/blob/main/CHANGES.md).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelopmentseed%2Ftitiler-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevelopmentseed%2Ftitiler-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelopmentseed%2Ftitiler-image/lists"}