Skip to main content

rms-picmaker

GitHub release; latest by date GitHub Release Date Test Status Documentation Status Code coverage
PyPI - Version PyPI - Format PyPI - Downloads PyPI - Python Version
GitHub commits since latest release GitHub commit activity GitHub last commit
Number of GitHub open issues Number of GitHub closed issues Number of GitHub open pull requests Number of GitHub closed pull requests
GitHub License Number of GitHub stars GitHub forks DOI

Features

rms-picmaker converts binary 2-D or 3-D astronomy images — PDS3-labeled images, VICAR images, and FITS images — into JPEG, TIFF, PNG, or other popular display formats. It is used by the PDS Ring-Moon Systems Node (SETI Institute) for image preview generation.

It ships both as a command-line tool (picmaker) and as an importable Python library (from picmaker import picmaker). Features include percentile stretching, gamma correction, histogram equalization, colormap and filter-aware tinting, cropping, resizing, padding, and 16-bit TIFF output.

Installation

The picmaker module is available via the rms-picmaker package on PyPI and can be installed with:

pip install rms-picmaker

Getting Started

Convert a single image to JPEG with the defaults:

picmaker input.IMG --directory out/

Process a directory of VICAR images into 8-bit PNGs with a 1–99% percentile stretch and a gamma of 0.7:

picmaker -r --pattern '*.vic' --extension png \
         --percentiles 1 99 --gamma 0.7 \
         --directory out/ inputs/

Use as a library:

from picmaker import picmaker
from picmaker.options import get_parser

# Let the argument parser fill in every default, then run the pipeline.
options = get_parser().parse_args([
    'input.IMG',
    '--directory', 'out/',
    '--extension', 'jpg',
    '--percentiles', '1', '99',
    '--gamma', '0.7',
])
picmaker(**vars(options))

Security note: picmaker also accepts Python pickle files as a fallback input format. Only pass pickle inputs you trust — unpickling executes arbitrary code from the file.

Details are available in the module documentation.

Contributing

Information on contributing to this package can be found in the Contributing Guide.

Links

Licensing

This code is licensed under the Apache License v2.0.

Metadata

Release files for rms-picmaker 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rms-picmaker 2.1.0
File Size Uploaded
rms_picmaker-2.1.0.tar.gz 38.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for rms-picmaker 2.1.0
File Interpreter ABI Platform
rms_picmaker-2.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 38.1 MB

Release files / rms_picmaker-2.1.0.tar.gz

Download URL rms_picmaker-2.1.0.tar.gz
Size 38.0 MB
Tags Source
SHA-256 checksum
How to use checksums
a92dc8ca78f5aa780e7baccd3a7a0326320d748192069214fbe02ea6df4d6e07
BLAKE2b-256 checksum
How to use checksums
8a96bf3504f4d582529bd278537f7f5fcb9a8d3f15418594b30b27b8485fb32a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 4, 2026.

Transparency log

Release files / rms_picmaker-2.1.0-py3-none-any.whl

Download URL rms_picmaker-2.1.0-py3-none-any.whl
Size 89.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84f1b26a1ffd34d17cfa3bdb66303960c287ec5c0aec708c4586a1cf71807393
BLAKE2b-256 checksum
How to use checksums
1c8011d2623cc49960a4aeab918d0885b82ab75cc628eef9d4476eade43c20c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 4, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files

2.0.0

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page