xcf: format v12 support (kf5)
The code is the same of MR !166 (master) but test cases are slightly different due to rounding.
BIN
autotests/read/xcf/birthday.png
Normal file
After Width: | Height: | Size: 96 KiB |
BIN
autotests/read/xcf/birthday.xcf
Normal file
BIN
autotests/read/xcf/birthday16.png
Normal file
After Width: | Height: | Size: 93 KiB |
BIN
autotests/read/xcf/birthday16.xcf
Normal file
BIN
autotests/read/xcf/birthday16_gray.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
autotests/read/xcf/birthday16_gray.xcf
Normal file
BIN
autotests/read/xcf/birthday16_grayA.png
Normal file
After Width: | Height: | Size: 84 KiB |
BIN
autotests/read/xcf/birthday16_grayA.xcf
Normal file
BIN
autotests/read/xcf/birthday16fp.png
Normal file
After Width: | Height: | Size: 82 KiB |
BIN
autotests/read/xcf/birthday16fp.xcf
Normal file
BIN
autotests/read/xcf/birthday16fp_gray.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
autotests/read/xcf/birthday16fp_gray.xcf
Normal file
BIN
autotests/read/xcf/birthday16fp_grayA.png
Normal file
After Width: | Height: | Size: 72 KiB |
BIN
autotests/read/xcf/birthday16fp_grayA.xcf
Normal file
BIN
autotests/read/xcf/birthday32.png
Normal file
After Width: | Height: | Size: 93 KiB |
BIN
autotests/read/xcf/birthday32.xcf
Normal file
BIN
autotests/read/xcf/birthday32_gray.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
autotests/read/xcf/birthday32_gray.xcf
Normal file
BIN
autotests/read/xcf/birthday32_grayA.png
Normal file
After Width: | Height: | Size: 84 KiB |
BIN
autotests/read/xcf/birthday32_grayA.xcf
Normal file
BIN
autotests/read/xcf/birthday32fp.png
Normal file
After Width: | Height: | Size: 82 KiB |
BIN
autotests/read/xcf/birthday32fp.xcf
Normal file
BIN
autotests/read/xcf/birthday32fp_gray.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
autotests/read/xcf/birthday32fp_gray.xcf
Normal file
BIN
autotests/read/xcf/birthday32fp_grayA.png
Normal file
After Width: | Height: | Size: 72 KiB |
BIN
autotests/read/xcf/birthday32fp_grayA.xcf
Normal file
BIN
autotests/read/xcf/birthday_grayA.png
Normal file
After Width: | Height: | Size: 80 KiB |
BIN
autotests/read/xcf/birthday_grayA.xcf
Normal file
Before Width: | Height: | Size: 114 KiB After Width: | Height: | Size: 115 KiB |
BIN
autotests/read/xcf/fruktpilot16_icc.png
Normal file
After Width: | Height: | Size: 115 KiB |
BIN
autotests/read/xcf/fruktpilot16_icc.xcf
Normal file
BIN
autotests/read/xcf/fruktpilot16fplin_icc.png
Normal file
After Width: | Height: | Size: 112 KiB |
BIN
autotests/read/xcf/fruktpilot16fplin_icc.xcf
Normal file
BIN
autotests/read/xcf/fruktpilot32_icc.png
Normal file
After Width: | Height: | Size: 115 KiB |
BIN
autotests/read/xcf/fruktpilot32_icc.xcf
Normal file
BIN
autotests/read/xcf/fruktpilot32fplin_icc.png
Normal file
After Width: | Height: | Size: 112 KiB |
BIN
autotests/read/xcf/fruktpilot32fplin_icc.xcf
Normal file
Before Width: | Height: | Size: 115 KiB After Width: | Height: | Size: 115 KiB |
@ -46,33 +46,6 @@ typedef enum {
|
|||||||
|
|
||||||
// From GIMP "libgimp/gimpenums.h" v2.4
|
// From GIMP "libgimp/gimpenums.h" v2.4
|
||||||
|
|
||||||
//! Effect to apply when layers are merged together.
|
|
||||||
|
|
||||||
typedef enum {
|
|
||||||
NORMAL_MODE,
|
|
||||||
DISSOLVE_MODE,
|
|
||||||
BEHIND_MODE,
|
|
||||||
MULTIPLY_MODE,
|
|
||||||
SCREEN_MODE,
|
|
||||||
OVERLAY_MODE,
|
|
||||||
DIFFERENCE_MODE,
|
|
||||||
ADDITION_MODE,
|
|
||||||
SUBTRACT_MODE,
|
|
||||||
DARKEN_ONLY_MODE,
|
|
||||||
LIGHTEN_ONLY_MODE,
|
|
||||||
HUE_MODE,
|
|
||||||
SATURATION_MODE,
|
|
||||||
COLOR_MODE,
|
|
||||||
VALUE_MODE,
|
|
||||||
DIVIDE_MODE,
|
|
||||||
DODGE_MODE,
|
|
||||||
BURN_MODE,
|
|
||||||
HARDLIGHT_MODE,
|
|
||||||
SOFTLIGHT_MODE,
|
|
||||||
GRAIN_EXTRACT_MODE,
|
|
||||||
GRAIN_MERGE_MODE
|
|
||||||
} LayerModeEffects;
|
|
||||||
|
|
||||||
// From GIMP "paint_funcs.c" v1.2
|
// From GIMP "paint_funcs.c" v1.2
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|