8#ifndef KOCOLORSPACEREGISTRY_H
9#define KOCOLORSPACEREGISTRY_H
14#include "kritapigment_export.h"
62 OnlyDefaultProfile = 1,
108 void addProfileAlias(
const QString& name,
const QString& to);
113 QString profileAlias(
const QString& name)
const;
118 const KoColorProfile *createColorProfile(
const QString & colorModelId,
const QString & colorDepthId,
const QByteArray& rawData);
127 const KoColorProfile * profileByName(
const QString & name)
const ;
137 const KoColorProfile *profileByUniqueId(
const QByteArray &
id)
const;
139 bool profileIsCompatible(
const KoColorProfile* profile,
const QString &colorSpaceId);
150 QString defaultProfileForColorSpace(
const QString &colorSpaceId)
const;
191 const KoColorSpace * colorSpace(
const QString & colorModelId,
const QString & colorDepthId,
const QString &profileName);
193 const KoColorSpace * colorSpace(
const QString & colorModelId,
const QString & colorDepthId);
201 QString colorSpaceId(
const QString & colorModelId,
const QString & colorDepthId)
const;
209 QString colorSpaceId(
const KoID& colorModelId,
const KoID& colorDepthId)
const;
217 KoID colorSpaceColorModelId(
const QString & _colorSpaceId)
const;
225 KoID colorSpaceColorDepthId(
const QString & _colorSpaceId)
const;
243 const KoColorSpace *graya8(
const QString &profile = QString());
259 const KoColorSpace *graya16(
const QString &profile = QString());
276 const KoColorSpace * rgb8(
const QString &profileName = QString());
291 const KoColorSpace * rgb16(
const QString &profileName = QString());
306 const KoColorSpace * lab16(
const QString &profileName = QString());
359 const KoColorProfile *profileForQColorSpace(
const QColorSpace &space);
368 QColorSpace QColorSpaceForProfile(
const KoColorProfile *profile)
const;
372 QList<KoID> colorModelsList(ColorSpaceListVisibility option)
const;
377 QList<KoID> colorDepthList(
const KoID& colorModelId, ColorSpaceListVisibility option)
const;
382 QList<KoID> colorDepthList(
const QString & colorModelId, ColorSpaceListVisibility option)
const;
403 friend class KisCsConversionTest;
404 friend class KisIteratorTest;
405 friend class KisIteratorNGTest;
406 friend class KisPainterTest;
407 friend class KisCrashFilterTest;
409 friend class TestKoColorSpaceSanity;
410 friend class TestColorConversionSystem;
411 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 &)