From baf9ee4f3dfc4b7a98de3bf6c191693d098b5067 Mon Sep 17 00:00:00 2001 From: jaseg Date: Tue, 2 Apr 2013 02:48:29 +0200 Subject: Added note about rgb->x256 color conversion --- pixelterm.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pixelterm.py b/pixelterm.py index 89866a7..2713f06 100755 --- a/pixelterm.py +++ b/pixelterm.py @@ -1,6 +1,10 @@ #!/usr/bin/env python import os, sys, argparse +#NOTE: This script uses pygments for RGB->X256 conversion since pygments is +#readily available. If you do not like pygments (e.g. because it is large), +#you could patch in something like https://github.com/magarcia/python-x256 +#(but don't forget to send me a pull request ;) from pygments.formatters import terminal256 from PIL import Image, PngImagePlugin -- cgit