This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
processor : 0 | |
vendor_id : GenuineIntel | |
cpu family : 5 | |
model : 4 | |
model name : Pentium MMX | |
stepping : 3 | |
cpu MHz : 200.446 | |
cache size : 0 KB | |
fdiv_bug : no | |
hlt_bug : no |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys, termios, StringIO | |
import Image # PIL | |
class SixelConverter: | |
def __init__(self, image, f8bit = False): | |
if f8bit: # 8bit mode |