When accessing pixel data of a bpy.types.Image object, I only get the color information of the image before the color management settings are applied. This is regardless of whether the "View as Render" option is enabled or not. If I choose this option in the image editor, however, the image is displayed with the color management applied. So, the pixel data must exist somewhere in memory.
Is there a way to get the pixel data AFTER the color management settings have been applied via python?
Or alternatively: Is there a way to apply the color management settings to the pixel data manually? (maybe via OpenColorIO?)