krita
KisChangeProfileVisitor Class Reference
#include <kis_change_profile_visitor.h>
Inherits KisLayerVisitor.
Detailed Description
The Change Profile visitor walks over all layers and if the current layer has the specified colorspace AND the specified old profile, sets the colorspace to the same colorspace with the NEW profile, without doing conversions.This is essential if you have loaded an image that didn't have an embedded profile to which you want to attach the right profile.
Definition at line 36 of file kis_change_profile_visitor.h.
Public Member Functions | |
KisChangeProfileVisitor (KisColorSpace *oldColorSpace, KisColorSpace *dstColorSpace) | |
virtual bool | visit (KisPaintLayer *layer) |
virtual bool | visit (KisGroupLayer *layer) |
virtual bool | visit (KisPartLayer *layer) |
virtual bool | visit (KisAdjustmentLayer *layer) |
The documentation for this class was generated from the following file: