/pikter

Display images on iTerm

Primary LanguageSwiftMIT LicenseMIT

pikter - Picture on iTerm

pikter-demo

Note: works with iTerm2 version 2.9 or later. Get one here.

Usage:

    pikter <filePath>... [--width=<px>, --height=<px>, (-d | --debug)]
  • Display an image:
    pikter cat.jpg
  • Display a list of images:
    pikter cat.jpg dog.png duck.gif
  • Display width custom size
    pikter dolphin.jpg --width 200
  • Print out debug
    pikter dolphin.jpg --width 200 --debug

Dependencies

docopt.swift

Credits

iTerm2's image display feature document

Nyan Cat image obtained from here