diff options
Diffstat (limited to 'Demo/sgi/video/imgconv.py')
-rwxr-xr-x | Demo/sgi/video/imgconv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/sgi/video/imgconv.py b/Demo/sgi/video/imgconv.py index af6d60e..f22c06c 100755 --- a/Demo/sgi/video/imgconv.py +++ b/Demo/sgi/video/imgconv.py @@ -22,7 +22,7 @@ def rgb2jpeg(img, x, y): def jpeggrey2grey(img, width, height): import jpeg data, width, height, bytesperpixel = jpeg.decompress(img) - if bytesperpixel <> 1: raise RuntimeError, 'not grayscale jpeg' + if bytesperpixel <> 1: raise RuntimeError, 'not greyscale jpeg' return data def jpeg2rgb(img, width, height): |