Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A VICAR-to-PNG converter.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


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

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:

You'll need to install the setuptools packages before installing vicar2png:

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
  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
  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

Something went wrong with that request. Please try again.