{"categories":[{"label":"Graphics","url":"https://skillfed.io/packages/category/multimedia-graphics/2"}],"enrichment":{"capability":"Read, write, create, and plot ImageJ ROI format files, which store regions of interest, geometric shapes, paths, and text overlays for image annotation.","skillfed_tags":["image-annotation","imagej-compatible","scientific-imaging"],"use_cases":["Batch convert or migrate ImageJ ROI annotations between .roi, ZIP, and TIFF formats","Programmatically create geometric annotations (points, polygons, paths) and embed them in TIFF images for ImageJ","Read and modify ROI metadata (names, types, display properties) in automated image-processing pipelines","Extract coordinate data from ImageJ overlays for downstream analysis or visualization in other tools","View and inspect ROI file contents from the command line without opening ImageJ"],"what_it_does":"Roifile is a Python library for working with ImageJ ROI files, an undocumented format used by ImageJ to store regions of interest, geometric shapes, paths, and text annotations for image overlays. It lets you read ROI data from .roi files, ZIP archives, or embedded in TIFF metadata; create new ROI objects programmatically from coordinate arrays; modify ROI properties like type, size, and labels; and write the results back to disk or TIFF files. The package depends only on numpy at runtime, with optional support for tifffile (to embed ROIs in TIFF files), imagecodecs (for certain image types), and matplotlib (for plotting overlays).\n\nThe library is designed for scientific and image-analysis workflows where you need to programmatically manipulate or batch-process ImageJ annotations. It includes a command-line viewer to inspect ROI files and full round-trip support\u2014you can read a ROI, modify it, and write it back with the same format and properties preserved. The format itself has limitations: integer coordinates are constrained to the range -5000..60536, and the implementation follows ImageJ's Java reference implementation for compatibility.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, installs with minimal friction, and solves a specific and well-defined problem for anyone working with ImageJ ROI files in Python. The permissive BSD-3-Clause license poses no restrictions. Install it if you need to read, write, or manipulate ImageJ annotations programmatically."},"id":"roifile","links":{"html":"https://skillfed.io/packages/roifile","md":"https://skillfed.io/packages/roifile.md","pypi":"https://pypi.org/project/roifile/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-30","license_spdx":null,"license_treatment":"permissive","name":"roifile","python_support":"supports_current","summary":"Read and write ImageJ ROI format"},"popularity":{"monthly_downloads":119765,"position":12056,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2026.7.30"}
