#include#include KisPaintDeviceSP paintDevice; paintDevice.colorSpace = KoColorSpace::RGB;
#include#include KisPaintDeviceSP paintDevice; paintDevice.colorSpace = KoColorSpace::CMYK;
#includeThese examples demonstrate how to use the KisPaintDeviceSP class to set the color space for different images. The package library for this class and its associated functions is the Krita software library.#include KisPaintDeviceSP paintDevice; paintDevice.colorSpace = KoColorSpace::Lab;