mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +00:00
Microscopic changes, comments/messages changed.
Real important: turn off FIELDDROP in Vrec.
This commit is contained in:
parent
8ed294150e
commit
ff3da0502f
5 changed files with 17 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue