Øyvind Kolås
60847cce73
app: remove odd ratio scaling, replace with range check for nan
2017-01-15 01:33:40 +01:00
Øyvind Kolås
315ccc7f82
app: remove clamping in multiply mode
2017-01-15 01:33:40 +01:00
Michael Natterer
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
Øyvind Kolås
f01374798e
app: remove clamps from addition, subtract and grain blend modes
2017-01-14 21:06:06 +01:00
Øyvind Kolås
39adf3627d
app: use hypotf in lhc chroma blend mode
2017-01-14 21:03:29 +01:00
Øyvind Kolås
f8c65367f0
app: cache fishes in lch blend modes
2017-01-13 19:21:01 +00:00
Øyvind Kolås
975a0a6943
app: reuse more code
2017-01-13 19:21:01 +00:00
Øyvind Kolås
be8c2015a0
app: move factored out compositing to common header
2017-01-13 19:21:01 +00:00
Øyvind Kolås
acd20fb55b
app: use cached fishes in lch chroma mode
2017-01-13 19:21:00 +00:00
Øyvind Kolås
7959141eb4
app: make compositing of hsv value blend mode consistent
2017-01-13 14:26:36 +01:00
Øyvind Kolås
75173b97d9
app: make compositing of grain extract blend mode consistent
2017-01-13 14:26:05 +01:00
Øyvind Kolås
954030fab6
app: make compositing of dodge blend mode consistent with rest
2017-01-13 14:25:46 +01:00
Øyvind Kolås
13eab78ecc
app: improve and simplify alpha handling of LCH blending modes
2017-01-13 14:15:35 +01:00
Øyvind Kolås
feb2bb4083
app: lch color modes remove unneeded includes
2017-01-13 13:53:08 +01:00
Øyvind Kolås
0b1f684e8f
app: remove unneded variable named tmp
2017-01-13 13:38:12 +01:00
Øyvind Kolås
24b04c0b40
app: use single precision hypotf and constants for performance
2017-01-13 13:17:25 +01:00
Øyvind Kolås
dc5b86f0eb
app: add TRC variants to get_layer_mode_function()
2017-01-12 15:18:44 +01:00
Øyvind Kolås
36ebe03770
app: remove lingering old files of dead code
2017-01-11 15:18:52 +01:00
Michael Natterer
a187329777
app: sort includes in gimp-operations.c
2017-01-11 15:00:37 +01:00
Michael Natterer
77f9659c98
app: move gimplayermodefunctions.[ch] to layer-modes/
2017-01-11 14:58:43 +01:00
Michael Natterer
b959e0b69b
app: move GimpOperationPointLayerMode to layer-modes/
2017-01-11 14:44:10 +01:00
Ell
e17f640fba
app: eliminate unnecessary condition in GimpOperationReplaceMode
...
8-bit relic.
2017-01-11 08:21:02 -05:00
Michael Natterer
ad134263d2
app: clean up Makefile.am in layer-modes/ and layer-modes-legacy/
2017-01-11 13:00:27 +01:00
Michael Natterer
8b5553cef6
app: move the remaining 3 layer modes to layer-modes/
...
Not exactly sure if all are correct, but the file moving is almost
done now.
2017-01-11 12:55:13 +01:00
Michael Natterer
b90fa4f0d3
app: clean up spaces in GimpOperationColorEraseMode
2017-01-11 12:42:27 +01:00
Michael Natterer
01b25baffd
app: change mask handling in GimpOperationReplaceMode
...
to be like in the other modes, and proably speed it up a little.
2017-01-11 12:38:58 +01:00
Øyvind Kolås
f45fc97eba
app: add missing op .h files
2017-01-11 04:54:36 +01:00
Øyvind Kolås
ec1f7a94e3
app: split legacy out of grain extract and merge
2017-01-11 04:40:26 +01:00
Øyvind Kolås
8f3842434c
app: split legacy out of soft and hard light
2017-01-11 04:10:06 +01:00
Øyvind Kolås
784a8ee224
app: split legacy out of burn and divide
2017-01-11 03:17:53 +01:00
Michael Natterer
0891028232
app: forgot to s/gimp:normal-mode/gimp:normal/g
2017-01-11 00:28:57 +01:00
Michael Natterer
9142bb1805
app: move erase and anti-erase to layer-modes/
2017-01-11 00:23:31 +01:00
Øyvind Kolås
56ba42a97c
app: correct names of screen and difference layer ops
2017-01-10 21:48:03 +01:00
Øyvind Kolås
71030f49e9
app: duplicate hsv layer modes, and fix alpha handling
2017-01-10 21:48:03 +01:00
Øyvind Kolås
c3e5e30450
app: split legacy lighten only and darken only ops
2017-01-10 11:18:52 +01:00
Michael Natterer
99189d7a28
app: move dissolve to layer-modes/
2017-01-10 09:06:16 +01:00
Øyvind Kolås
153796df9b
app: fix names of addition and subtract ops
2017-01-10 02:29:34 +01:00
Øyvind Kolås
dfcb5c11de
app: add new files for subtract/addition ops
2017-01-10 01:42:34 +01:00
Øyvind Kolås
5a7fd54d34
app: split addition and subract in legacy and new
2017-01-10 01:40:14 +01:00
Michael Natterer
60e1d8e35f
app: move the LCH layer modes to layer-modes/
2017-01-10 01:04:49 +01:00
Øyvind Kolås
92047ea949
app: layer op fission cleanup
2017-01-10 00:00:31 +01:00
Michael Natterer
b001626b31
app: move overlay to operations/layer-modes/ and call it GimpOperationOverlay
2017-01-09 23:54:51 +01:00
Øyvind Kolås
b6be1b768e
app: duplicate difference mode, new and legacy
2017-01-09 23:49:08 +01:00
Øyvind Kolås
9d5893f402
app: add the ops for screen blend ops
2017-01-09 23:25:59 +01:00
Øyvind Kolås
3a50cdcd4f
app: split screen op in legacy and new
2017-01-09 23:19:29 +01:00
Michael Natterer
fd070eeb25
app: start moving layer modes into their own build directories
...
New directories:
operations/layer-modes/
operations/layer-modes-legacy/
2017-01-09 21:58:18 +01:00
Øyvind Kolås
076621dd75
app: split dodge op in legacy and new
2017-01-09 20:10:17 +01:00
Øyvind Kolås
c2583faa5a
app: add new multiply op
2017-01-09 20:10:04 +01:00
Michael Natterer
178794f6f1
libgimpbase: rename enum GimpHueRange's values
...
and add compat cruft for the old names.
2017-01-09 02:45:16 +01:00
Michael Natterer
152adbb1bd
Rename GIMP_LAYER_MODE_FOO_BROKEN to GIMP_LAYER_MODE_FOO_LEGACY
...
"Broken" sounds like it needs fixing, but it's legacy compat stuff
that will have to stay for all eternity.
2017-01-09 01:27:20 +01:00
Michael Natterer
66060e3307
app, libgimp*, plug-ins: replace enum GimpLayerModeEffects by GimpLayerMode
...
with proper value names. Mark most values as _BROKEN because they use
weird alpha compositing that has to die. Move GimpLayerModeEffects to
libgimpbase, deprecate it, and set it as compat enum for GimpLayerMode.
Add the GimpLayerModeEffects values as compat constants to script-fu
and pygimp.
2017-01-08 23:00:19 +01:00
Øyvind Kolås
03185f8070
app: normalize some layer mode alpha/opacity handling
...
Make overlay, Lch color, Lch hue, Lch saturation and Lch lightness mode handle
alpha more like how normal does it. This is a change that we ideally might want
applied to other layer modes as well to get rid of MIN() calls.
2017-01-06 04:53:40 +01:00
Jehan
3fa016fb4b
app: clean out tab indentations.
2016-12-21 04:05:32 +01:00
Richard Gitschlag
b27cdfa99a
Bug 644032 - Color banding in Hue-Saturation with overlap
...
When calculating an overlap between two ranges, interpolate the hue
adjustment from config->hue[primary_range] and
config->hue[secondary_range] BEFORE mapping it to the input value.
This fixes odd edge cases where only one of the ranges crosses the
red/magenta wraparound, or if adjustments to different channels yield
more than 180 degree difference from each other.
2016-11-13 10:56:15 +01:00
Michael Natterer
bcdd2e8d1a
app: cleanup in GimpOperationProfileTransform
2016-11-06 21:08:10 +01:00
Michael Natterer
3cef404e20
app, pdb, libgimp: allow to choose the channel when thresholding
...
so the threshold can now be based on the GimpHistogramChannel enum.
Add a channel menu to the threshold dialog and a channel argument to
the PDB procedure (which is new in 2.10).
If I hadn't forgotten what the "RGB" channel is supposed to do I would
have implemented the RGB mode in GimpOperationThreshold correctly.
Right now I'm just guessing. Anyone?
2016-11-01 22:45:37 +01:00
Michael Natterer
6bc8b4ee74
app: don't copy alpha in gimp_operation_profile_transform_process()
...
GimpColorTransform abstracts that lcms problem away.
2016-09-10 01:09:11 +02:00
Michael Natterer
d0263efd80
app: minor cleanup in gimpoperationblend.c
2016-08-29 17:38:06 +02:00
Massimo Valentini
f7569cad82
Bug 767345: Color Erase Blend Mode Do not working in Paint tools correctly (exception Bucket fill Tool)
2016-07-05 18:15:10 +02:00
Ell
763062890b
app: fix wrong initialization in gimp_operation_{grow,shrink}_process()
...
s/radius_x/radius_y/ in the max buffer initialization. Lead to
occasional wrong results when radius_y > radius_x.
2016-06-24 01:14:51 +00:00
Ell
3232f38697
app: align gimp_operation_shrink_process() with 2.8
...
radius_x/radius_y got swapped in a few spots, which lead to
segfaults and such when they weren't equal.
2016-06-24 01:14:51 +00:00
Massimo Valentini
7858eb3df2
Bug 766683: Burn Mode on Paint tools are producing artefacts
...
This operation produces NAN (0 / 0) and division
by zero when a layer component is zero.
Inline CLAMP to make sure it swallows also NAN.
A NAN is mapped to 1 for backward compatibility.
[the 2variate function comp (in[b], layer[b]) is
discontinuous at layer[b] = 0]
2016-06-06 18:53:22 +02:00
Michael Natterer
b4f34375b7
Bug 767062 - Lags when zooming or dragging zoomed image (cmsFLAGS_NOOPTIMIZE)
...
Use cmsFLAGS_NOOPTIMIZE only for actual image buffer or single color
transforms, but not for previews or the image display. Makes things a
lot more responsive again.
2016-06-05 16:50:02 +02:00
Jehan
8a37c928eb
app, plug-ins, libgimp*: clean out all remaining trailing spaces/tabs.
...
Rather than just discovering them by chance, a simple grep and some
search and replace are much more efficient! :-)
Cleaning only done on C and automake files.
2016-06-02 02:04:26 +02:00
Michael Natterer
e6d4053567
app: don't forget to ref GimpOperationProfileTransform's profiles
2016-05-26 22:26:07 +02:00
Michael Natterer
0bfa402c1a
Argh, this was meant to be squashed into the previous commit...
2016-05-26 22:18:50 +02:00
Michael Natterer
cc92887908
libgimpcolor: add new object GimpColorTransform
...
which encapsulates a cmsHTRANSFORM and does all the pixel format
conversion magic. It has API to create transforms and proofing
transforms, and to convert pixels arrays and GeglBuffers.
Before, each place which has a transform had to keep around the
transform and its input and output Babl formats, and had to implement
lots of stuff itself. Now all that lives in GimpColorTransform,
removing lots of logic from many places, and pretty much removing lcms
from the public API entirely.
This removes including <lcms2.h>, LCMS_LIBS and LCMS_CFLAGS from
almost all directories and potentially allows to replace lcms by
something else.
2016-05-26 22:15:54 +02:00
Michael Natterer
cb578e3df7
app: add GimpOperationProfileTransform
...
which converts between two color profiles.
2016-05-23 14:00:35 +02:00
Massimo Valentini
3a43478fda
Bug 766116: Behind mode is not working correctly
...
use same var names as gimp-2-8 to make
it easier to spot unwanted differences
2016-05-17 19:56:39 +02:00
Massimo Valentini
2dd4d3a2fa
Bug 766369: Split view shows transparency filtering...
...
... layers with alpha channel
add an operation that selectively outputs aux
or source if out/inside the rectangle (x,y,width,height),
independently of the alpha channel and use it
in filters split preview.
mostly copied from gimp:mask-components
2016-05-16 18:08:48 +02:00
Massimo Valentini
85cb525c7e
Bug 766128: Use gegl_operation_progress
...
instead of reimplementing it in two operations
2016-05-11 19:09:56 +02:00
Thomas Manni
f4cb2dd881
Bug 109161 - Improve Histogram with Luminance Channel
...
Add a luminance channel to GimpHistogram
2016-04-18 19:35:06 +01:00
Michael Natterer
5730278eeb
Bug 759796 - Blend tool regression
...
We must not dither the alpha channel if it is fully opaque or fully
transparent. 2.8 did the same but the dithering of these values was
apparently consumed be putting the result into 8 bit values.
2016-04-17 01:06:08 +01:00
Sven Claussner
9272da1a21
Flood op: improve descriptions
...
Add more user friendly description to the PDB op.
Partially keep the technical description for the PDB op and add a
reference to the developer wiki.
Use the new "reference" key for the GEGL op.
2016-04-08 08:52:12 +00:00
Elle Stone
96d8397114
Bug 763996 - Where appropriate, change "gamma correction" to "gamma adjustment"
...
Gamma correction refers to correcting how an image is displayed on
various devices. Gamma adjustment is a more general phrase that also
applies to adjusting gamma as a step in image enhancement in a
color-managed workflow.
2016-03-28 14:57:24 +02:00
Ell
5084bcae87
app: Add a test case for the "gimp:flood" operation
2016-03-19 20:29:37 +01:00
Ell
a11dd0e29a
Bug 761795 - Performance improvement for the flood operation
...
Improve the performance of the "gimp:flood" operation and add plenty
of comments.
2016-03-19 20:29:37 +01:00
Daniel Sabo
2b7088f6e9
Make Burn mode output match Gimp 2.8 ( partial revert of bug 744265 )
2016-03-07 16:26:58 -08:00
Daniel Sabo
39a417d476
app: Improve math of unaccelerated OperationNormalMode
...
Hopefully no one is stuck on a CPU old enough to need this, but if
they are the ratio based math is noticeably faster.
2016-03-07 16:26:58 -08:00
Michael Natterer
e5b6806fe2
app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros
...
and remove lots of labels from calls to gimp_prop_foo_new(). Also
had to manually remove some unwanted labels that are now added
automatically, fixes bug #761880 .
2016-02-11 23:46:24 +01:00
Michael Natterer
18316c41a5
app: use the new GIMP_CONFIG_PROP_FOO()
...
instead of manual g_object_class_install_property().
2016-02-10 01:38:08 +01:00
Massimo Valentini
b5546ac0ac
Bug 678085 - Cage tool freezes GIMP
...
progress signal accepts 1 parameter not 0
it worked in linux, but not in win64
2016-02-07 18:50:11 +01:00
Massimo Valentini
b9ba90589a
Bug 678085 - Cage tool freezes GIMP
...
Use a proper "progress" signal instead of a property "notify" one
to update the on-canvas progress widget.
This way the graph is not invalidated while processing it
2016-02-02 12:21:15 +01:00
Michael Henning
a0a6d6139e
app: Use gimp:blend in gimp_drawable_blend
2016-02-01 21:20:19 +01:00
Michael Henning
1efdae9654
operations: Use input for the shapeburst distance map in Blend.
2016-02-01 21:18:51 +01:00
Michael Henning
7a92ad7a07
operations: Make GimpOperationBlend a filter.
2016-02-01 21:18:51 +01:00
Ell
c63bee3440
app: Add "gimp:flood" GEGL operation
...
This operation assigns to each pixel the minimum of the
maxima of all paths from it to the outside, as if the
input image represents a height map, and the operation
floods it with water.
2016-01-25 22:58:24 +01:00
Michael Natterer
cd47aac435
app: remove GimpThresholdConfig
...
The new more general GimpImageMapTool code handles this case
completely automatically now.
2016-01-22 22:37:23 +01:00
Michael Natterer
1ef06fdbb2
app: add gimp_gegl_config_register()
...
which registers config classes for operations that don't want their
config objects to be auto-generated. Register all color tools' config
objects. Change gimp_gegl_config_sync_node() to correctly handle ops
that have an object property of the right config object type.
2016-01-22 21:28:33 +01:00
Michael Natterer
38691ee03d
app: register the newly changed ops' properties normally
...
not using GIMP_CONFIG_INSTALL_PROP_FOO() because they don't allow to
set the param spec's nick and blurb separately.
2016-01-16 22:50:15 +01:00
Michael Natterer
149d3f441f
app: turn the desaturate tool into a normal GEGL filter
2016-01-16 22:38:12 +01:00
Michael Natterer
7b009c6900
app: turn the posterize tool into an ordinary GEGL filter
...
which means replacing the whole thing by a few lines.
2016-01-16 21:41:00 +01:00
Michael Natterer
68a9835d56
Bug 756822 - Colors/Desaturate/Luminosity should operate on linear RGB
...
Add GIMP_DESATURATE_LUMINANCE to enum GimpDesaturateMode and rename
GIMP_DESATURATE_LUMINOSITY to GIMP_DESATURATE_LUMA.
Keep GIMP_DESATURATE_LUMINOSITY as deprecated compat value and add it
to the script-fo and pygimp compat constants.
Change GimpOperationDesaturate to process GIMP_DESATURATE_LUMINANCE
with linear "RGBA float".
2015-10-22 19:50:56 +02:00
Øyvind Kolås
8ca9bfc291
app: burn-mode, invert before blending
2015-10-15 13:52:20 +02:00
Øyvind Kolås
23f118632c
app: clamp blended results for some compositing ops
...
Quite probably we shouldn't even clamp at the end, not doing that would speed
up compositing. See bug 744265.
2015-10-15 00:25:01 +02:00
Elle Stone
e089095631
Bug 744265 - layer mode 'addition' makes wrong gray values
...
Move CLAMP code in addition blend mode (CLAMP the result, not an
intermediate value).
2015-10-13 22:47:31 +02:00
Michael Natterer
997314d4e9
Bug 754518 - gimp-drawable-curves-spline does not take the advertised...
...
...number of points
gimp_curves_config_new_spline(): set the GimpCurve's n_points, not
n_samples. The bug title describes exactly what was happening.
2015-09-07 21:43:18 +02:00
Michael Natterer
4479cedf13
app: rename mask enum values GIMP_COMPONENT_RED,GREEN,BLUE etc.
...
to GIMP_COMPONENT_MASK_RED,GREEN,BLUE etc.
2015-09-07 00:35:02 +02:00
Michael Natterer
46eef4d09d
app: remove references to plug_in_icc_profile_apply_rgb() from Makefiles
2015-08-27 13:52:26 +02:00
Michael Natterer
97e55692eb
app: the blend tool was rendering all gradients off-by-0.5
...
When calculating the color of a pixel, we want to calculate the color
at its center, not at its top-left corner. Found by Raymond Jennings.
2015-08-26 23:23:16 +02:00
Nils Philippsen
9171de3b80
tests: link against -lm
...
(see commit 4c7338c097
)
2015-07-16 14:27:04 +02:00
Thomas Manni
a7b84ded8e
Bug 325564 - Use CIE LCH instead of HSL for layer mode Color
...
Add Hue, Chroma, Color and Lightness layer modes in LCH color space.
2015-06-02 01:37:26 +02:00
Michael Natterer
bc4cf9918f
Bug 673501 - Issue with Overlay
...
GIMP's OVERLAY mode was identical to SOFTLIGHT. This commit fixes the
issue and introduces a NEW_OVERLAY mode and enum value.
- change gimp:overlay-mode to be a real (svg-ish) overlay mode
- when compositing, map OVERLAY to gimp:softlight-mode
- when compisiting, map NEW_OVERLAY to gimp:overlay-mode
- bump the XCF version when NEW_OVERLAY is used
- map OVERLAY to SOFTLIGHT when loading and saving XCF
- map OVERLAY to softlight in all PDB setters
- map OVERLAY to softlight when deserializing a GimpContext
- change all paint mode menus to show an entry for NEW_OVERLAY
instead of OVERLAY
- change PSP, PSD and OpenRaster to use NEW_OVERLAY
These changes should (redundantly) make sure that no OVERLAY enum
value is used in the core any longer because it gets mapped to
SOFTLIGHT at all entry points, with the downside of introducing a
setter/getter asymmetry when OVERLAY was set in a PDB api.
2015-04-29 13:32:58 -04:00
Michael Natterer
81fa953ccb
Bug 746649 - Duplicate auto-saved presets for color tools
...
Implement GimpConfigInterface::equal() for the brightness-contrast,
colorize, and threshold config objects, to prevent the parent class'
timestamp being compared by the generic default implementation.
2015-04-09 01:14:41 +02:00
Thomas Manni
678b61a3ac
Bug 742623: Equalize operation fills buffer with nan values in floating point precision
...
Use histogram bins count to process equalization instead of "256" hard-coded value.
2015-02-10 12:08:04 +01:00
Michael Natterer
e629f4c14b
app: add GimpOperationScalarMultiply
...
which multiplies each float in a gegl_format_n(float, n) input
by a factor.
2014-11-07 00:42:58 +01:00
Thomas Manni
dbfbc221a5
Bug 736232 - Strange result using transparent layer, blending modes...
...
...and layer opacity
Use a temporary variable to store intermediate result instead of
writting 2 times to the output buffer, because input and output
buffer might be the same.
2014-10-03 00:17:49 +02:00
Michael Natterer
fe3c0e4020
Bug 732787 - Posterize doesn't work as expected with alpha channel
...
GimpOperationPosterize: also posterize the alpha channel. Seems like a
no-brainer to me, and is actually useful (see bug). The old behavior
is still available by simply disabling the alpha channel in the
channels dialog.
2014-09-25 23:12:35 +02:00
Michael Natterer
1db5c06f54
Bug 735902 - Drawing a gradient should never produce negative RGB channel values
...
Use MAX(value, 0.0) on the result of dithering.
2014-09-08 22:49:51 +02:00
Michael Natterer
14978bfe5d
Simplify calls to g_output_stream_write_all()
...
It returns TRUE only if all bytes were written, so there is no need to
get and check the bytes_written return value.
2014-09-07 20:30:14 +02:00
Simon Budig
9a245989c0
fix bogus checks against unsigned variables.
...
Spotted by Andrey Karpov using static code analysis:
http://www.viva64.com/en/b/0273/
2014-08-16 00:37:13 +02:00
Michael Henning
dbd1f0500e
app: Switch to the GeglAccessMode enum in GimpOperationBlend
...
See b5530e9e3d
2014-07-22 14:09:20 -04:00
Michael Henning
8fef1918a9
app: Support gradients with fg/bg segments in the blend tool preview.
2014-07-22 13:13:47 -04:00
Michael Henning
5839b5e4af
app: Add a gegl op to render gradients
2014-07-22 13:13:47 -04:00
Michael Natterer
3f52828896
app: change GimpImageFile and GimpDocumentList to speak GFile
2014-07-07 23:58:11 +02:00
Michael Natterer
29427fa4f1
app: port GimpImageMapTool settings import/export to streams
...
Simplifies and centralizes error checking and reporting.
2014-07-04 18:31:00 +02:00
Michael Natterer
b4cdecb4c3
app: port the curves and levels cruft format loaders to GIO
2014-07-04 13:18:01 +02:00
Michael Natterer
249041d927
Bug 732698 - Select > Shrink/Grow/Border not working in GIMP master
...
Always pass level = 0 to gegl_buffer_set(). This actually makes a
difference since GEGL's level processing got some fixes.
2014-07-03 20:47:02 +02:00
Michael Natterer
a572638656
app: fix copy/paste GError bug in some calls to g_file_replace()
2014-07-03 13:01:01 +02:00
Michael Natterer
4e6a6079f4
app: port levels cruft format saving to GIO
2014-07-02 23:45:16 +02:00
Michael Natterer
87ecc83885
app: port curves cruft format saving to GIO
2014-07-02 23:40:26 +02:00
Michael Natterer
b5530e9e3d
Use the new GeglAccessMode enum instead of the old values
2014-07-02 02:00:35 +02:00
Michael Natterer
784e74e1d8
app: remove bogus (but harmless) assignment from GimpOperationColorize
2014-06-30 17:28:04 +02:00
Michael Natterer
847606d177
app: add back gimp_curves_config_new_spline,explicit()
...
but as versions using gdouble instead of guint8. Use the new functions
from the just renamed _cruft() variants.
2014-06-17 22:23:41 +02:00
Michael Natterer
f5e4f01c52
app: make gimp_curves_config_new_spline,explicit() handle variable #points
...
Also, append _cruft to the function name because they take guint8*
arrays, will add proper ones next.
2014-06-17 21:10:33 +02:00
Thomas Manni
0206effba0
Bug 731697 - Colorize operation does not restitute alpha channel correctly
...
Copy the src alpha value in GimpOperationColorize.
2014-06-15 23:39:09 +02:00
Simon Budig
a7c82d2964
app: rework gimp:shapeburst towards more floats, try to improve readability.
2014-06-14 02:56:33 +02:00
Michael Natterer
8aa0019c2e
app: clean up inclusion of gegl-plugin.h, mostly removals
2014-06-10 03:13:09 +02:00
Michael Natterer
8be52f6aa7
app, libgimp*: pass translated blurbs to GIMP_CONFIG_INSTALL_PROP_FOO()
...
instead of passing N_()-strings; and remove gettext() calls on these
strings when using them. Reduces complexitx, and fixes double- and
untranslated strings. Also enables to treat properties of GIMP and
GEGL objects the same way, which was totally broken before.
2014-05-14 23:34:01 +02:00
Michael Natterer
23037b5230
app: convert all stock IDs kept around by the core by icon names
...
Particularly GimpViewable's stock_id. Make sure old config files
containing stock IDs are still properly parsed.
2014-05-07 01:01:56 +02:00
Michael Natterer
d9cf36d07d
app: remove gimp:cast-format and use gegl:cast-format
2014-05-05 19:30:21 +02:00
Michael Natterer
8f648471e6
app: add new operation gimp:cast-format
...
which casts between two arbitrary formats of the same bpp.
2014-05-04 20:42:58 +02:00
Michael Natterer
16819917f5
app: add a boolean "normalize" property to gimp:shapeburst
...
and do the normalization in the op, instead of exporting the
max_iterations via a property and doing the normalization outside.
2014-05-01 20:40:55 +02:00
Michael Natterer
830dbf6d5b
app: remove some disabled code from gimp:shapeburst
2014-05-01 20:33:57 +02:00
Michael Natterer
540d3bb6ae
app: port gimp:shapeburst's input from u8 to float
2014-05-01 20:32:26 +02:00
Elle Stone
3915ac01b4
Bug 728607 - Patch to make divide blend mode work at 32-bit floating point
...
Properly port divide mode to 32-bit float.
2014-04-30 00:16:11 +02:00
Michael Natterer
22c222291d
libgimpbase,*: clean up enum values in gimpbaseenums.h
...
GIMP_ADD_foo_MASK -> GIMP_ADD_MASK_foo
GIMP_foo_MODE -> GIMP_BLEND_foo
GIMP_foo_CLONE -> GIMP_CLONE_foo
GIMP_foo -> GIMP_DODGE_BURN_TYPE_foo
GIMP_foo -> GIMP_TRANSFER_foo
Add compat values for the old names and compat code to script-fu
and pygimp.
2014-04-29 20:58:30 +02:00
Michael Natterer
fcecafa479
Bug 723213 - colors/levels/auto is broken for high bitdepth images
...
Port gimp_levels_config_stretch_channel() to histograms with
variable number of bins. Still behaves differently for different
bit depths tho.
2014-01-30 00:19:37 +01:00
Michael Natterer
84c132addc
Bug 721553 - License text contains obsolete FSF postal address
...
These files were forgotten when changing license from GPL2 to GPL3.
2014-01-05 14:25:46 +01:00
Michael Natterer
697572ccc0
app,libgimp*: fix includes to follow our include policy
...
- don't include <gdk-pixbuf/gdk-pixbuf.h> in headers in app/
- instead, include it in many .c files instead of <glib-object.h>,
finally acknowledging the fact that app/ depends on gdk-pixbuf almost
globally
- fix up includes as if libgimpbase depended in GIO, which it soon will
2013-10-15 01:58:39 +02:00
Jehan
ed1b7f4697
app: minor typo spotted on gimp:grow operation. s/diection/direction/
2013-09-16 00:43:44 +12:00
Michael Natterer
05646749f5
app: port the mask border operation from u8 to float
2013-08-24 19:48:01 +02:00
Michael Natterer
7ac385caec
app: port the mask shrink and grow operations from u8 to float
2013-08-24 19:08:48 +02:00
Massimo Valentini
fe02ef78ca
Revert "app: enable caching on layer mode ops"
...
This reverts commit 35b5b624e9
.
it caused rendering artifacts.
2013-08-10 17:44:39 +02:00
Massimo Valentini
35b5b624e9
app: enable caching on layer mode ops
2013-08-10 16:25:50 +02:00
Michael Natterer
b58e18944a
app: don't set a name or any keys on GimpOperationPointLayerMode
...
it's an abstract base class and cannot be used on its own anyway.
2013-07-31 01:11:28 +02:00
Daniel Sabo
fda356bd10
app: Fix phantom dependency of libappoperation.a
2013-06-29 09:54:49 -07:00
Michael Natterer
009b5a967a
app: whitespace cleanup in operations/Makefile.am
2013-06-27 09:13:18 +02:00
Daniel Sabo
cccc3550af
SSE2 & SSE4.1 versions of GimpOperationNormalMode
...
* Add configure checks for SSE intrinsic code.
* Use SSE helper libraries in app/operations to compile
code with different CFLAGS.
2013-06-25 20:42:15 -07:00
Daniel Sabo
b10b1ba931
app: Change the opacity param of _pixels to gfloat
...
All the internal math is float, and avoiding the conversion
from double is much faster when using SSE math.
2013-06-19 16:19:34 -07:00