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);
145 const KoColorProfile * profileByName(
const QString & name)
const ;
155 const KoColorProfile *profileByUniqueId(
const QByteArray &
id)
const;
157 bool profileIsCompatible(
const KoColorProfile* profile,
const QString &colorSpaceId);
168 QString defaultProfileForColorSpace(
const QString &colorSpaceId)
const;
209 const KoColorSpace * colorSpace(
const QString & colorModelId,
const QString & colorDepthId,
const QString &profileName);
211 const KoColorSpace * colorSpace(
const QString & colorModelId,
const QString & colorDepthId);
219 QString colorSpaceId(
const QString & colorModelId,
const QString & colorDepthId)
const;
227 QString colorSpaceId(
const KoID& colorModelId,
const KoID& colorDepthId)
const;
235 KoID colorSpaceColorModelId(
const QString & _colorSpaceId)
const;
243 KoID colorSpaceColorDepthId(
const QString & _colorSpaceId)
const;
261 const KoColorSpace *graya8(
const QString &profile = QString());
277 const KoColorSpace *graya16(
const QString &profile = QString());
294 const KoColorSpace * rgb8(
const QString &profileName = QString());
309 const KoColorSpace * rgb16(
const QString &profileName = QString());
324 const KoColorSpace * lab16(
const QString &profileName = QString());
374 const KoColorProfile *profileForQColorSpace(
const QColorSpace &space);
383 QColorSpace QColorSpaceForProfile(
const KoColorProfile *profile)
const;
418 friend class KisCsConversionTest;
419 friend class KisIteratorTest;
420 friend class KisIteratorNGTest;
421 friend class KisPainterTest;
422 friend class KisCrashFilterTest;
424 friend class TestKoColorSpaceSanity;
425 friend class TestColorConversionSystem;
426 friend struct FriendOfColorSpaceRegistry;
427 friend class TestProfileGeneration;
PythonPluginManager * instance
The KoColorProfileQuery struct.
const KoColorConversionSystem * colorConversionSystem() const
ColorSpaceListProfilesSelection
QHash< QString, QString > CustomProfileNameAlias
KoColorConversionCache * colorConversionCache() const
KoColorSpaceRegistry operator=(const KoColorSpaceRegistry &)
KoColorSpaceRegistry(const KoColorSpaceRegistry &)