grayscale support for flip.py HSV reading