What's this? Why not
```
if (compType == kUncompressed || compType == kJPEGCompression || compType == kPNGCompression)
    fUncompressedInfo.fType = format;
```