PCL
|
A soft proofing ICC profile transformation. More...
#include <ICCProfileTransformation.h>
Static Public Member Functions | |
static RGBA | GamutWarningColor () |
static void | SetGamutWarningColor (RGBA color) |
Additional Inherited Members | |
Public Types inherited from pcl::ICCProfileTransformation | |
using | profile_list = Array< ICCProfile::handle > |
using | rendering_intent = ICCRenderingIntent::value_type |
using | transformation_handle = void * |
Protected Member Functions inherited from pcl::ICCProfileTransformation | |
void | Apply (pcl::DImage &) const override |
void | Apply (pcl::Image &) const override |
void | Apply (pcl::UInt16Image &) const override |
void | Apply (pcl::UInt32Image &) const override |
void | Apply (pcl::UInt8Image &) const override |
Protected Member Functions inherited from pcl::ImageTransformation | |
virtual void | Apply (pcl::ComplexImage &image) const |
virtual void | Apply (pcl::DComplexImage &image) const |
ICCProofingTransformation implements a device proofing transformation. This kind of color transformation allows previewing of the final results that would be obtained on a specific proofing device without actually performing any rendition on physical media.
A device proofing transformation uses three ICC profiles: a source profile, a proofing profile, and a target profile. In a typical scenario, the proofing device is a printer and we want to proof it on a display monitor. In this common case we have:
Source profile = The ICC profile describing the color space to which source pixel values are referred.
Proofing profile = The ICC profile describing the device where the final result will be obtained (usually a printer).
Target profile = The ICC profile describing the display device where we'll preview the result (usually a monitor).
Definition at line 530 of file ICCProfileTransformation.h.
|
inline |
Constructs a default ICCProofingTransformation object.
Definition at line 537 of file ICCProfileTransformation.h.
|
default |
Move constructor.
|
inlineoverride |
Destroys an ICCProofingTransformation object.
Definition at line 551 of file ICCProfileTransformation.h.
|
inline |
Disables or enables gamut check for this color transformation.
Definition at line 658 of file ICCProfileTransformation.h.
|
inline |
Enables or disables gamut check for this color transformation.
Definition at line 649 of file ICCProfileTransformation.h.
|
static |
Returns the current gamut warning color used to represent out-of-gamut pixel values in final proofing renditions. The returned value is a 32-bit RGBA pixel value.
|
inline |
Returns true iff gamut checking has been enabled for this color transformation. When gamut check is enabled, out-of-gamut colors in the final rendition are automatically replaced by the current gamut warning color (see the SetGamutWarningColor() member function).
Definition at line 641 of file ICCProfileTransformation.h.
|
default |
Move assignment operator. Returns a reference to this object.
|
inline |
Returns the proofing rendering intent for this ICC proofing transformation.
Definition at line 619 of file ICCProfileTransformation.h.
|
static |
Specifies the special RGB color used to represent out-of-gamut pixel values in final proofing renditions. Only used for proofing transformations with gamut check enabled.
color | Gamut warning color encoded as a 32-bit RGBA pixel value. |
Note that since this is a static member function, the current gamut warning color is a global setting that affects all proofing transformations performed by the calling module.
|
inline |
Sets the proofing rendering intent for this ICC proofing transformation.
The default proofing intent is ICCRenderingIntent::AbsoluteColorimetric.
Definition at line 629 of file ICCProfileTransformation.h.
void pcl::ICCProofingTransformation::SetProofingProfile | ( | const ICCProfile & | profile | ) |
Selects the specified ICC profile as the profile describing the proofing device in this transformation.
void pcl::ICCProofingTransformation::SetProofingProfile | ( | const ICCProfile::handle | profileHandle | ) |
Selects an already open ICC profile profileHandle as the profile describing the proofing device in this transformation.
void pcl::ICCProofingTransformation::SetProofingProfile | ( | const String & | profilePath | ) |
Loads an ICC profile from a file at profilePath and selects it as the profile describing the proofing device in this transformation.
void pcl::ICCProofingTransformation::SetSourceProfile | ( | const ICCProfile & | profile | ) |
Selects the specified ICC profile as the profile describing the source color space in this transformation.
void pcl::ICCProofingTransformation::SetSourceProfile | ( | const ICCProfile::handle | profileHandle | ) |
Selects an already open ICC profile profileHandle as the profile describing the source color space in this transformation.
void pcl::ICCProofingTransformation::SetSourceProfile | ( | const String & | profilePath | ) |
Loads an ICC profile from a file at profilePath and selects it as the profile describing the source color space in this transformation.
void pcl::ICCProofingTransformation::SetTargetProfile | ( | const ICCProfile & | profile | ) |
Selects the specified ICC profile as the profile describing the target (output) color space in this transformation.
void pcl::ICCProofingTransformation::SetTargetProfile | ( | const ICCProfile::handle | profileHandle | ) |
Selects an already open ICC profile profileHandle as the profile describing the target (output) color space in this transformation.
void pcl::ICCProofingTransformation::SetTargetProfile | ( | const String & | profilePath | ) |
Loads an ICC profile from a file at profilePath and selects it as the profile describing the target (output) color space in this transformation.