Skip to main content

VICAR-to-png image file converter.

Project description

vicar2png converts VICAR image files to PNGs. The VICAR (Video Image Communication and Retrieval) format is commonly used by NASA, JPL, and various universities. Read more about the format specification at http://www-mipl.jpl.nasa.gov/external/VICAR_file_fmt.pdf.

We wrote and packaged vicar2png so that anyone can view, enjoy, and remix NASA’s mission image data easily by converting VICAR files to the popular PNG image format.

Sample usage:

# Use the input filename to generate a default output filename. vicar2png cassini01.IMG

# Specify an output filename. vicar2png cassini01.IMG test_image.png

Installing vicar2png

You can get and install vicar2png from PyPI: http://pypi.python.org/pypi/Vicar2Png

You’ll need to install the setuptools packages before installing vicar2png: http://pypi.python.org/pypi/setuptools

vicar2png demo

Once you’ve installed vicar2png, try converting the following files:

### An image of Jupiter from an Earth-Jupiter cruise during the Cassini mission:

  1. Download http://pdsimg.jpl.nasa.gov/data/cassini/cassini_orbiter/coiss_1004/data/1355070805_1355176231/N1355070913_1.IMG

  2. Convert from VICAR to PNG with vicar2png N1355070913_1.IMG

  3. Open N1355070913_1.png in an image viewer (open N1355070913_1.png will do the trick on OS X and many Linuxes)

### An encounter with Saturn’s moon Phoebe from the Cassini-Huygens mission:

  1. Download http://pdsimg.jpl.nasa.gov/data/cassini/cassini_orbiter/coiss_2004/data/1465674475_1465709620/N1465674502_2.IMG

  2. Convert from VICAR to PNG with vicar2png N1465674502_2.IMG

  3. Open N1465674502_2.png in an image viewer (e.g. open N1465674502_2.png)

You can find many more images to test at http://pdsimg.jpl.nasa.gov/data/cassini/cassini_orbiter/.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Vicar2Png-0.2dev.tar.gz (4.6 kB view details)

Uploaded Source

File details

Details for the file Vicar2Png-0.2dev.tar.gz.

File metadata

  • Download URL: Vicar2Png-0.2dev.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Vicar2Png-0.2dev.tar.gz
Algorithm Hash digest
SHA256 cbc5114b371c0914ec156e8589d93fa7a641ec53e74f163b7470692f293776d8
MD5 62ddfc08b0f36466053f5ac9a6caa3d1
BLAKE2b-256 e216303369ada5b05f801261beda9a33b63e69779750ce59d35675331c6c9418

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page