f645665324
app: unconditionally set alpha in hardlight/softlight/overlay
2017-01-19 14:44:39 +01:00
bfdea93a9c
app: indentation and formatting cleanup in gimpblendcomposite.h
...
Also remove all includes, they should already be there when this
header gets included.
2017-01-19 14:31:40 +01:00
72cbda11ae
app: composite_blend, fix src_over
2017-01-19 04:57:14 +01:00
41fff6990e
app: make layer modes more configurable
...
Implement a common utility function gimp_blend_composite that uses utility
functions for implementing layer modes, with separate (possibly SIMD) optimized
loops for blending and compositing, with configured linear TRC, perceptual
gamma TRC or even using CIE Lab as the space.
2017-01-19 01:04:15 +01:00
d1fea4d6c6
png: add a combo-box for specifying png bitdepth/variant
...
When working in high bitdepth, manually changing precision to 8bit or 16bit is
an extraenous step, this adds a conversion step - but doesn't permit dithering
- and also doesn't permit using the palette modes of PNG. However it makes
workflows with single precision linear floating point much more usable.
2017-01-19 01:02:17 +01:00
7236ca593e
NEWS: minor fixes.
2017-01-18 19:03:31 +01:00
1262370544
app: remove "gboolean linear" parameters
...
from gimp_applicator_new() and gimp_gegl_mode_node_set_mode().
Compositing doesn't depend on the layer format any longer, only on the
layer mode. Painting with "use applicator" unchecked is still broken
in some cases and needs more fixing.
2017-01-18 00:15:55 +01:00
b809613be0
app: implement gimp_layer_mode_get_blend_trc()
2017-01-17 17:41:05 +01:00
0bcb3068fe
app: fix typo s/GIMP_LAYER_COMPOSITE_OVER/GIMP_LAYER_COMPOSITE_SRC_OVER/
2017-01-17 15:23:36 +01:00
6e72d3eddf
app: add blend-trc and composite-mode properties to GimpOperationPointLayerMode
...
and set them to unused default values.
2017-01-17 15:09:17 +01:00
dd3eec6198
app: change linking order of the sub-libs of app/operations
...
so layer-modes/ can use the enums in enums-types.h without failing to
link.
2017-01-17 14:28:40 +01:00
5c4eb75361
app: register the enums in operations-enums.h as GTypes
...
and rename them to GimpLayerBlendTRC and GimpLayerCompositeMode.
2017-01-17 01:19:06 +01:00
e267d87963
app: add operations-enums.h with two soon-needed enums
2017-01-16 23:07:50 +01:00
69c4644e15
app: rename GimpLayerModeFunction to GimpLayerModeFunc
...
like all other function typedefs and add GimpBlendFunc typedef which
will be needed soon. Also rename get_layer_mode_function() to
gimp_get_layer_mode_function().
2017-01-16 22:44:01 +01:00
b2e1237480
Update Portuguese translation
2017-01-16 21:12:13 +00:00
31aae078d4
Update Portuguese translation
2017-01-16 21:08:50 +00:00
03e102c548
Update NEWS for 2.9.6, this will come in handy eventually
2017-01-16 23:01:27 +03:00
97efe7668a
Update Polish translation
2017-01-16 12:30:24 +01:00
e1b7eb7245
app: divide blend mode, limit high values to 5.0
...
Possibly counteracting inaccuracies in used babl conversions, but with this the
result match legacy as expected.
2017-01-16 02:36:11 +01:00
8928bcd088
Bug 777017 - creating an empty layer group inside an existing...
...
...layer group cause a bug in the existing layer size
Change gimp_group_layer_get_size() to return FALSE if there are no
children (there is no content).
In gimp_group_layer_update_size(), skip children where get_size()
returns FALSE. Fixes bogus size calculation.
2017-01-15 21:01:03 +01:00
87e5d10ddb
app: make tests build again
2017-01-15 18:52:43 +01:00
80003dff38
Bug 777233 - Printing an SVG file results in a black sheet of paper
...
Create a white rectangle behind everything, which should take care of
whatever print backend brokenness.
2017-01-15 18:04:54 +01:00
d68a62d405
Update Polish translation
2017-01-15 17:25:39 +01:00
5eb0fa816a
app, libgimp: add LINEAR variants of more layer modes
...
for completeness/consistency, even if they don't make much sense for
prectical use.
2017-01-15 16:02:10 +01:00
a24e232522
app: move functions on enum GimpLayerMode to new files gimp-layer-modes.[ch]
2017-01-15 15:25:03 +01:00
d4edf0e50c
Update Polish translation
2017-01-15 14:58:52 +01:00
3158aa7949
Update Slovak translation
2017-01-15 09:53:25 +00:00
60847cce73
app: remove odd ratio scaling, replace with range check for nan
2017-01-15 01:33:40 +01:00
315ccc7f82
app: remove clamping in multiply mode
2017-01-15 01:33:40 +01:00
50669fe6d4
app, libgimp: rename BEHIND enum values to be consistent with others
...
Also update gimplayermodefunctions.c which I forgot before.
2017-01-15 00:01:09 +01:00
6bf9e47ba8
app, libgimp: add linear variants of most layer modes
...
and reorder gimp_gegl_mode_node_set_mode() and friends.
2017-01-14 22:56:54 +01:00
5951d39938
app, libgimp: reorder enum GimpLayerMode
...
so LEGACY and new modes have the same order, if possible.
2017-01-14 21:52:54 +01:00
f01374798e
app: remove clamps from addition, subtract and grain blend modes
2017-01-14 21:06:06 +01:00
39adf3627d
app: use hypotf in lhc chroma blend mode
2017-01-14 21:03:29 +01:00
bd66794e2c
app: avoid the second gegl_node_set() in gimp_gegl_mode_node_set_mode()
2017-01-14 18:35:56 +01:00
52e3398cff
Update Greek translation
2017-01-14 18:43:27 +02:00
819b749a3b
plug-ins: twain: fix layer mode name
2017-01-14 16:33:47 +01:00
f8c65367f0
app: cache fishes in lch blend modes
2017-01-13 19:21:01 +00:00
975a0a6943
app: reuse more code
2017-01-13 19:21:01 +00:00
be8c2015a0
app: move factored out compositing to common header
2017-01-13 19:21:01 +00:00
acd20fb55b
app: use cached fishes in lch chroma mode
2017-01-13 19:21:00 +00:00
de7ceeb041
Updated Danish translation by scootergrisen
2017-01-13 16:36:21 +01:00
75cb9049a3
Updated Danish translation by scootergrisen
2017-01-13 16:21:03 +01:00
7959141eb4
app: make compositing of hsv value blend mode consistent
2017-01-13 14:26:36 +01:00
75173b97d9
app: make compositing of grain extract blend mode consistent
2017-01-13 14:26:05 +01:00
954030fab6
app: make compositing of dodge blend mode consistent with rest
2017-01-13 14:25:46 +01:00
13eab78ecc
app: improve and simplify alpha handling of LCH blending modes
2017-01-13 14:15:35 +01:00
feb2bb4083
app: lch color modes remove unneeded includes
2017-01-13 13:53:08 +01:00
0b1f684e8f
app: remove unneded variable named tmp
2017-01-13 13:38:12 +01:00
24b04c0b40
app: use single precision hypotf and constants for performance
2017-01-13 13:17:25 +01:00