-
Michael Natterer authored
Some refactoring: add gimp_metadata_get,set_colorspace() and a new enum GimpMetadataColorspace which so far can be one of { UNSPECIFIED, UNCALIBRATED, SRGB, ADOBERGB }. The setter is untested and I don't know if it's doing the right thing, please review. Use the getter in gimp_image_metadata_load_finish(), so complex metadata logic and profile creation/setting are separated.
15b7b17b