--- id: large-image version: "1.35.2" license: Apache-2.0 license_treatment: permissive maintenance: active --- # large-image — Python modules to work with large, multiresolution images. License: permissive · Maintenance: active · Downloads: 97.1K/mo ## 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 above — 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 pip install large-image uv add large-image 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_current - Install friction: low - Maintenance: active - Downloads: 97.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags large image processing python, geospatial image tiling, medical image pyramidal tiff, tile server image formats, multiresolution image handling, cloud optimized geotiff, whole slide image reader, geospatial-imaging, medical-imaging, tile-serving [View on SkillFed](https://skillfed.io/packages/large-image) · [View on PyPI](https://pypi.org/project/large-image/)