Changed colorspaces name to integer mappings from a define format to an enum format. Added null (uninitialized) colorspace as well.