8#ifndef KOCOLORSPACEREGISTRY_H
9#define KOCOLORSPACEREGISTRY_H
14#include "kritapigment_export.h"
63 OnlyDefaultProfile = 1,
113 void addProfileAlias(
const QString& name,
const QString& to);
118 void removeProfileAlias(
const QString& name);
123 QString profileAlias(
const QString& name)
const;
128 const KoColorProfile *createColorProfile(
const QString & colorModelId,
const QString & colorDepthId,
const QByteArray& rawData);
140 const KoColorProfile * profileByName(
const QString & name)
const ;
150 const KoColorProfile *profileByUniqueId(
const QByteArray &
id)
const;
152 bool profileIsCompatible(
const KoColorProfile* profile,
const QString &colorSpaceId);
163 QString defaultProfileForColorSpace(
const QString &colorSpaceId)
const;
204 const KoColorSpace * colorSpace(
const QString & colorModelId,
const QString & colorDepthId,
const QString &profileName);
206 const KoColorSpace * colorSpace(
const QString & colorModelId,
const QString & colorDepthId);
214 QString colorSpaceId(
const QString & colorModelId,
const QString & colorDepthId)
const;
222 QString colorSpaceId(
const KoID& colorModelId,
const KoID& colorDepthId)
const;
230 KoID colorSpaceColorModelId(
const QString & _colorSpaceId)
const;
238 KoID colorSpaceColorDepthId(
const QString & _colorSpaceId)
const;
256 const KoColorSpace *graya8(
const QString &profile = QString());
272 const KoColorSpace *graya16(
const QString &profile = QString());
289 const KoColorSpace * rgb8(
const QString &profileName = QString());
304 const KoColorSpace * rgb16(
const QString &profileName = QString());
319 const KoColorSpace * lab16(
const QString &profileName = QString());
369 const KoColorProfile *profileForQColorSpace(
const QColorSpace &space);
378 QColorSpace QColorSpaceForProfile(
const KoColorProfile *profile)
const;
413 friend class KisCsConversionTest;
414 friend class KisIteratorTest;
415 friend class KisIteratorNGTest;
416 friend class KisPainterTest;
417 friend class KisCrashFilterTest;
419 friend class TestKoColorSpaceSanity;
420 friend class TestColorConversionSystem;
421 friend struct FriendOfColorSpaceRegistry;
PythonPluginManager * instance
The KoColorProfileQuery struct.
const KoColorConversionSystem * colorConversionSystem() const
ColorSpaceListProfilesSelection
QHash< QString, QString > CustomProfileNameAlias
KoColorConversionCache * colorConversionCache() const
KoColorSpaceRegistry operator=(const KoColorSpaceRegistry &)
KoColorSpaceRegistry(const KoColorSpaceRegistry &)