8#ifndef KOCOLORSPACEREGISTRY_H
9#define KOCOLORSPACEREGISTRY_H
14#include "kritapigment_export.h"
61 OnlyDefaultProfile = 1,
107 void addProfileAlias(
const QString& name,
const QString& to);
112 QString profileAlias(
const QString& name)
const;
117 const KoColorProfile *createColorProfile(
const QString & colorModelId,
const QString & colorDepthId,
const QByteArray& rawData);
126 const KoColorProfile * profileByName(
const QString & name)
const ;
136 const KoColorProfile *profileByUniqueId(
const QByteArray &
id)
const;
138 bool profileIsCompatible(
const KoColorProfile* profile,
const QString &colorSpaceId);
149 QString defaultProfileForColorSpace(
const QString &colorSpaceId)
const;
190 const KoColorSpace * colorSpace(
const QString & colorModelId,
const QString & colorDepthId,
const QString &profileName);
192 const KoColorSpace * colorSpace(
const QString & colorModelId,
const QString & colorDepthId);
200 QString colorSpaceId(
const QString & colorModelId,
const QString & colorDepthId)
const;
208 QString colorSpaceId(
const KoID& colorModelId,
const KoID& colorDepthId)
const;
216 KoID colorSpaceColorModelId(
const QString & _colorSpaceId)
const;
224 KoID colorSpaceColorDepthId(
const QString & _colorSpaceId)
const;
242 const KoColorSpace *graya8(
const QString &profile = QString());
258 const KoColorSpace *graya16(
const QString &profile = QString());
275 const KoColorSpace * rgb8(
const QString &profileName = QString());
290 const KoColorSpace * rgb16(
const QString &profileName = QString());
305 const KoColorSpace * lab16(
const QString &profileName = QString());
352 QList<KoID> colorModelsList(ColorSpaceListVisibility option)
const;
357 QList<KoID> colorDepthList(
const KoID& colorModelId, ColorSpaceListVisibility option)
const;
362 QList<KoID> colorDepthList(
const QString & colorModelId, ColorSpaceListVisibility option)
const;
383 friend class KisCsConversionTest;
384 friend class KisIteratorTest;
385 friend class KisIteratorNGTest;
386 friend class KisPainterTest;
387 friend class KisCrashFilterTest;
389 friend class TestKoColorSpaceSanity;
390 friend class TestColorConversionSystem;
391 friend struct FriendOfColorSpaceRegistry;
ColorPrimaries
The colorPrimaries enum Enum of colorants, follows ITU H.273 for values 0 to 255, and has extra known...
TransferCharacteristics
The transferCharacteristics enum Enum of transfer characteristics, follows ITU H.273 for values 0 to ...
PythonPluginManager * instance
const KoColorConversionSystem * colorConversionSystem() const
ColorSpaceListProfilesSelection
KoColorConversionCache * colorConversionCache() const
KoColorSpaceRegistry operator=(const KoColorSpaceRegistry &)
KoColorSpaceRegistry(const KoColorSpaceRegistry &)