code: def ICCdecode(s):
      
  
      sig = s[0:4].strip()
      f = dict(text=RDtext,
               XYZ=RDXYZ,
               curv=RDcurv,
               vcgt=RDvcgt,
               sf32=RDsf32,
               )
      if sig not in f:
          return None
      return (sig, f[sig](s))
docs: Take an ICC encoded tag, and dispatch on its type signature
      (first 4 bytes) to decode it into a Python value.  Pair (*sig*,
      *value*) is returned, where *sig* is a 4 byte string, and *value* is
      some Python value determined by the content and type.