|
Krita Source Code Documentation
|
#include "kritapsdutils_export.h"#include <QPair>#include <QString>#include <QVector>#include <cstdint>#include <KoColor.h>#include <KoColorModelStandardIds.h>#include <KoCompositeOpRegistry.h>#include <KoPattern.h>#include <resources/KoAbstractGradient.h>#include <KisResourcesInterface.h>Go to the source code of this file.
Classes | |
| struct | psd_gradient_color |
| struct | psd_gradient_color_stop |
| struct | psd_gradient_transparency_stop |
| struct | psd_layer_effects_bevel_emboss |
| struct | psd_layer_effects_color_overlay |
| struct | psd_layer_effects_context |
| class | psd_layer_effects_drop_shadow |
| class | psd_layer_effects_glow_common |
| struct | psd_layer_effects_gradient_overlay |
| class | psd_layer_effects_inner_glow |
| class | psd_layer_effects_inner_shadow |
| class | psd_layer_effects_outer_glow |
| struct | psd_layer_effects_overlay_base |
| struct | psd_layer_effects_pattern_overlay |
| struct | psd_layer_effects_satin |
| class | psd_layer_effects_shadow_base |
| class | psd_layer_effects_shadow_common |
| struct | psd_layer_effects_stroke |
| struct | psd_layer_gradient_map |
| struct | psd_pattern |
| struct | PsdResource |
Namespaces | |
| namespace | psd_color_sampler |
Macros | |
| #define | PSD_LOOKUP_TABLE_SIZE 256 |
Typedefs | |
| typedef qint32 | Fixed |
Functions | |
| QString KRITAPSDUTILS_EXPORT | composite_op_to_psd_blendmode (const QString &compositeOp) |
| QString KRITAPSDUTILS_EXPORT | psd_blendmode_to_composite_op (const QString &blendmode) |
| QPair< QString, QString > KRITAPSDUTILS_EXPORT | psd_colormode_to_colormodelid (psd_color_mode colormode, quint16 channelDepth) |
Variables | |
| const int | MAX_CHANNELS = 56 |
| const int | MAX_PSD_SIZE = 30000 |
| enum psd_bevel_style |
| Enumerator | |
|---|---|
| psd_bevel_outer_bevel | |
| psd_bevel_inner_bevel | |
| psd_bevel_emboss | |
| psd_bevel_pillow_emboss | |
| psd_bevel_stroke_emboss | |
|
strong |
| Enumerator | |
|---|---|
| psdBigEndian | |
| psdLittleEndian | |
| psdInvalidByteOrder | |
Definition at line 33 of file psd.h.
| enum psd_color_mode |
Image color/depth modes
| Enumerator | |
|---|---|
| Bitmap | |
| Grayscale | |
| Indexed | |
| RGB | |
| CMYK | |
| MultiChannel | |
| DuoTone | |
| Lab | |
| Gray16 | |
| RGB48 | |
| Lab48 | |
| CMYK64 | |
| DeepMultichannel | |
| Duotone16 | |
| COLORMODE_UNKNOWN | |
Definition at line 50 of file psd.h.
| enum psd_color_stop_type |
| enum psd_compression_type : std::uint16_t |
| enum psd_direction |
| enum psd_fill_type |
| Enumerator | |
|---|---|
| psd_fill_solid_color | |
| psd_fill_gradient | |
| psd_fill_pattern | |
| enum psd_glow_source |
| Enumerator | |
|---|---|
| psd_glow_center | |
| psd_glow_edge | |
| enum psd_gradient_style |
| enum psd_section_type |
| enum psd_stroke_position |
| enum psd_technique_type |
| Enumerator | |
|---|---|
| psd_technique_softer | |
| psd_technique_precise | |
| psd_technique_slope_limit | |
| QString KRITAPSDUTILS_EXPORT composite_op_to_psd_blendmode | ( | const QString & | compositeOp | ) |
Definition at line 150 of file psd.cpp.
References COMPOSITE_BURN, COMPOSITE_COLOR, COMPOSITE_DARKEN, COMPOSITE_DARKER_COLOR, COMPOSITE_DIFF, COMPOSITE_DISSOLVE, COMPOSITE_DIVIDE, COMPOSITE_DODGE, COMPOSITE_EXCLUSION, COMPOSITE_HARD_LIGHT, COMPOSITE_HARD_MIX_PHOTOSHOP, COMPOSITE_HUE, COMPOSITE_LIGHTEN, COMPOSITE_LIGHTER_COLOR, COMPOSITE_LINEAR_BURN, COMPOSITE_LINEAR_DODGE, COMPOSITE_LINEAR_LIGHT, COMPOSITE_LUMINIZE, COMPOSITE_MULT, COMPOSITE_OVER, COMPOSITE_OVERLAY, COMPOSITE_PASS_THROUGH, COMPOSITE_PIN_LIGHT, COMPOSITE_SATURATION, COMPOSITE_SCREEN, COMPOSITE_SOFT_LIGHT_PHOTOSHOP, COMPOSITE_SOFT_LIGHT_SVG, COMPOSITE_SUBTRACT, COMPOSITE_VIVID_LIGHT, and dbgKrita.
| QString KRITAPSDUTILS_EXPORT psd_blendmode_to_composite_op | ( | const QString & | blendmode | ) |
Convert the Photoshop blend mode strings to Pigment compositeop id's
Definition at line 59 of file psd.cpp.
References COMPOSITE_BURN, COMPOSITE_COLOR, COMPOSITE_DARKEN, COMPOSITE_DARKER_COLOR, COMPOSITE_DIFF, COMPOSITE_DISSOLVE, COMPOSITE_DIVIDE, COMPOSITE_DODGE, COMPOSITE_EXCLUSION, COMPOSITE_HARD_LIGHT, COMPOSITE_HARD_MIX_PHOTOSHOP, COMPOSITE_HUE, COMPOSITE_LIGHTEN, COMPOSITE_LIGHTER_COLOR, COMPOSITE_LINEAR_BURN, COMPOSITE_LINEAR_DODGE, COMPOSITE_LINEAR_LIGHT, COMPOSITE_LUMINIZE, COMPOSITE_MULT, COMPOSITE_OVER, COMPOSITE_OVERLAY, COMPOSITE_PASS_THROUGH, COMPOSITE_PIN_LIGHT, COMPOSITE_SATURATION, COMPOSITE_SCREEN, COMPOSITE_SOFT_LIGHT_PHOTOSHOP, COMPOSITE_SUBTRACT, COMPOSITE_VIVID_LIGHT, and dbgKrita.
| QPair< QString, QString > KRITAPSDUTILS_EXPORT psd_colormode_to_colormodelid | ( | psd_color_mode | colormode, |
| quint16 | channelDepth ) |
Convert PsdColorMode to pigment colormodelid and colordepthid.
Definition at line 16 of file psd.cpp.
References Bitmap, CMYK, CMYKAColorModelID, DuoTone, Float32BitsColorDepthID, GrayAColorModelID, Grayscale, KoID::id(), Indexed, Integer16BitsColorDepthID, Integer8BitsColorDepthID, Lab, LABAColorModelID, MultiChannel, RGB, and RGBAColorModelID.