• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

digikam

Digikam::IccTransform

Digikam::IccTransform Class Reference

#include <icctransform.h>

List of all members.

Public Types

enum  RenderingIntent { Perceptual = 0, RelativeColorimetric = 1, Saturation = 2, AbsoluteColorimetric = 3 }

Public Member Functions

 IccTransform (const IccTransform &other)
 IccTransform ()
 ~IccTransform ()
bool apply (QImage &qimage)
bool apply (DImg &image, DImgLoaderObserver *observer=0)
void close ()
IccProfile effectiveInputProfile () const
IccProfile embeddedProfile () const
IccProfile inputProfile () const
IccTransform & operator= (const IccTransform &other)
IccProfile outputProfile () const
IccProfile proofProfile () const
void setCheckGamut (bool checkGamut)
void setCheckGamutMaskColor (const QColor &color)
void setDoNotEmbedOutputProfile (bool doNotEmbed)
void setEmbeddedProfile (const DImg &image)
void setInputProfile (const IccProfile &profile)
void setIntent (int intent)
void setIntent (RenderingIntent intent)
void setOutputProfile (const IccProfile &profile)
void setProofIntent (int intent)
void setProofIntent (RenderingIntent intent)
void setProofProfile (const IccProfile &profile)
void setUseBlackPointCompensation (bool useBPC)
bool willHaveEffect ()

Static Public Member Functions

static void init ()

Detailed Description

Definition at line 49 of file icctransform.h.


Member Enumeration Documentation

enum Digikam::IccTransform::RenderingIntent
Enumerator:
Perceptual 
RelativeColorimetric 
Saturation 
AbsoluteColorimetric 

Definition at line 70 of file icctransform.h.


Constructor & Destructor Documentation

Digikam::IccTransform::IccTransform (  ) 

Definition at line 197 of file icctransform.cpp.

Digikam::IccTransform::~IccTransform (  ) 

Definition at line 213 of file icctransform.cpp.

Digikam::IccTransform::IccTransform ( const IccTransform &  other  ) 

Definition at line 202 of file icctransform.cpp.


Member Function Documentation

bool Digikam::IccTransform::apply ( QImage &  qimage  ) 

Apply this transform to the QImage. This has only basic functionality.

Definition at line 582 of file icctransform.cpp.

bool Digikam::IccTransform::apply ( DImg &  image,
DImgLoaderObserver *  observer = 0 
)

Apply this transform with the set profiles and options to the image.

Optionally pass an observer to get progress information.

Definition at line 543 of file icctransform.cpp.

void Digikam::IccTransform::close (  ) 

Closes the transform, not the profiles. Called at desctruction.

Definition at line 677 of file icctransform.cpp.

IccProfile Digikam::IccTransform::effectiveInputProfile (  )  const

Returns the embedded profile; if none is set, the input profile; if none is set, sRGB.

Definition at line 277 of file icctransform.cpp.

IccProfile Digikam::IccTransform::embeddedProfile (  )  const

Returns the contained profiles.

Definition at line 257 of file icctransform.cpp.

void Digikam::IccTransform::init (  )  [static]

Initialize LittleCMS library.

Definition at line 218 of file icctransform.cpp.

IccProfile Digikam::IccTransform::inputProfile (  )  const

Definition at line 262 of file icctransform.cpp.

IccTransform & Digikam::IccTransform::operator= ( const IccTransform &  other  ) 

Definition at line 207 of file icctransform.cpp.

IccProfile Digikam::IccTransform::outputProfile (  )  const

Definition at line 267 of file icctransform.cpp.

IccProfile Digikam::IccTransform::proofProfile (  )  const

Definition at line 272 of file icctransform.cpp.

void Digikam::IccTransform::setCheckGamut ( bool  checkGamut  ) 

Definition at line 323 of file icctransform.cpp.

void Digikam::IccTransform::setCheckGamutMaskColor ( const QColor &  color  ) 

Definition at line 331 of file icctransform.cpp.

void Digikam::IccTransform::setDoNotEmbedOutputProfile ( bool  doNotEmbed  ) 

Call this with 'true' if you do not want the output profile to be set as embedded profile after apply() did a transformation.

Default is to set the output profile as embedded profile (false).

Definition at line 336 of file icctransform.cpp.

void Digikam::IccTransform::setEmbeddedProfile ( const DImg &  image  ) 

Sets the input profiles of this transform.

You can call both setEmbeddedProfile and setInputProfile. If the image contains an embedded profile this profile is used and takes precedence over the set input profile, which is used without an embedded profile. If none is set, sRGB is used.

Definition at line 232 of file icctransform.cpp.

void Digikam::IccTransform::setInputProfile ( const IccProfile &  profile  ) 

Definition at line 224 of file icctransform.cpp.

void Digikam::IccTransform::setIntent ( int  intent  )  [inline]

Definition at line 100 of file icctransform.h.

void Digikam::IccTransform::setIntent ( RenderingIntent  intent  ) 

Set options.

Definition at line 299 of file icctransform.cpp.

void Digikam::IccTransform::setOutputProfile ( const IccProfile &  profile  ) 

Sets the output transform.

Definition at line 241 of file icctransform.cpp.

void Digikam::IccTransform::setProofIntent ( int  intent  )  [inline]

Definition at line 102 of file icctransform.h.

void Digikam::IccTransform::setProofIntent ( RenderingIntent  intent  ) 

Definition at line 307 of file icctransform.cpp.

void Digikam::IccTransform::setProofProfile ( const IccProfile &  profile  ) 

Makes this transform a proofing transform, if profile is not null.

Definition at line 249 of file icctransform.cpp.

void Digikam::IccTransform::setUseBlackPointCompensation ( bool  useBPC  ) 

Definition at line 315 of file icctransform.cpp.

bool Digikam::IccTransform::willHaveEffect (  ) 

Returns if this transformation will have an effect, i.e.

if effective input profile and output profile are different.

Definition at line 355 of file icctransform.cpp.


The documentation for this class was generated from the following files:
  • icctransform.h
  • icctransform.cpp

digikam

Skip menu "digikam"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • digikam
Generated for API Reference by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal