Covers DeviceGray, CalRGB, DeviceRGB, DeviceCMYK, Lab, CalGray for now. Does not yet cover Indexed, Pattern, Separation, DeviceN, ICCBased. Lovingly hand-written, with the xref table fixed up by mutool.