skillfed

large-image

Python modules to work with large, multiresolution images.

large-image v1.35.2 97.1K downloads/30d#13,166 on PyPI218
Permissive license Apache-2.0 Active released

What it is and what it does

Large Image is a Python library for reading, tiling, and serving large geospatial and medical images efficiently. It abstracts away the complexity of working with multiresolution image formats—such as pyramidal tiffs, GeoTIFFs, and whole-slide images—by providing a unified interface to read tiles, access image regions, and generate metadata. The library is maintained by Kitware's Data & Analytics group and powers production systems including Resonant GeoData, HistomicsUI, and the Digital Slide Archive.

The package itself is a framework; to actually read images, you install tile source plugins (large-image-source-tiff, large-image-source-gdal, etc.) that correspond to your file formats. Once a source is available, you can fetch tiles at any zoom level, apply dynamic styling and color transforms, convert images to cloud-optimized formats, and serve them over HTTP. It's designed for workflows where images are too large to load into memory whole, making it essential for medical imaging, geospatial analysis, and other domains dealing with gigapixel or terabyte-scale data.

Use it for:

  • Serve whole-slide microscopy images (WSI) as zoomable tiles in a web UI without loading the entire file into memory.
  • Convert large GeoTIFF or satellite imagery to pyramidal cloud-optimized formats for efficient cloud storage and access.
  • Build a tile server backend that dynamically applies color palettes, band transforms, or other styling to geospatial or medical images on the fly.
  • Extract and analyze specific regions of very large images programmatically without holding the full image in RAM.
  • Integrate large-image as a Girder plugin to add tile serving and image browsing capabilities to a Girder-based data management platform.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Large Image provides Python methods to efficiently read, tile, and serve large geospatial and medical images in many formats, with support for pyramidal tiffs, region access, and dynamic tile styling.

Yes, if you work with large geospatial or medical images and need efficient tiling and serving. The package is actively maintained, has no known vulnerabilities, and low install friction. Install it only if you also plan to install at least one tile source package for your image format; the base package alone cannot process images. Suitable for production use given its stable status and use in established platforms like the Digital Slide Archive.

Install

large-image on PyPI

pip

pip install large-image

uv

uv add large-image

poetry

poetry add large-image

Installing large-image

Before you install

Low install friction with a pure-Python wheel and five common runtime dependencies. Actively maintained with a recent release; requires Python 3.10 or later. Note that full functionality typically requires installing additional tile source packages (large-image-source-xxx) for specific image formats.

License in practice

Apache-2.0 is a permissive license allowing commercial and private use with minimal restrictions; attribution and license notice are required.

Quickstart

pip install large-image

from large_image import tilesource

# Requires a tile source package for your image format
# (e.g., large-image-source-tiff for TIFF files)
source = tilesource.AvailableTileSources.get('tiff')(imagePath)
tile = source.getTile(0, 0, 0)

At least one tile source package (large-image-source-xxx) must be installed separately to read actual image files; base package alone cannot process images.

Verify before relying

  • Whether the five listed runtime dependencies (cachetools, palettable, Pillow, numpy, typing-extensions) are sufficient for basic tile serving or if additional system libraries are typically needed.
  • Memory and performance characteristics when handling images at extreme zoom levels or very large dimensions.

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 5 — cachetools, palettable, Pillow, numpy, typing-extensions
Maintenance actively maintained — 8 days since the last release
Last repo commit
First released
Downloads 97,148/month — #13,166 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: large_image-1.35.2-py3-none-any.whl

Keywords: large_image

Development Status :: 5 - Production/StableProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

large image processing pythongeospatial image tilingmedical image pyramidal tifftile server image formatsmultiresolution image handlingcloud optimized geotiffwhole slide image reader
geospatial-imagingmedical-imagingtile-serving

More Information Analysis packages