Microscopic changes, comments/messages changed.

Real important: turn off FIELDDROP in Vrec.
This commit is contained in:
Guido van Rossum 1992-12-09 22:16:35 +00:00
parent 8ed294150e
commit ff3da0502f
5 changed files with 17 additions and 9 deletions

View file

@ -538,6 +538,8 @@ def readfileheader(fp, filename):
format, rest = eval(line[:-1])
except:
raise Error, filename + ': Bad 3.0 color info'
if format == 'xrgb8':
format = 'rgb8' # rgb8 upside-down, for X
if format in ('rgb', 'jpeg'):
c0bits = c1bits = c2bits = 0
chrompack = 0