Commit graph

824 commits

Author SHA1 Message Date
Michael Natterer
3e119c5af7 libgimpcolor: add gimp_rgb[a]_set,get_pixel()
which converts from/to any pixel format using Babl. Added tons of
includes and CFLAGS now that libgimpcolor publically uses Babl.
2012-05-02 17:50:43 +02:00
Michael Natterer
5fba7c70c7 app: replace the tile pyramid's GimpImageType by bytes, it needs nothing else 2012-05-02 17:50:41 +02:00
Michael Natterer
f248324fd3 app: remove the lagacy hue-saturation cruft
it's unclear whether the operation is correct, but that can be sorted
out on master and merged.
2012-05-02 17:50:40 +02:00
Michael Natterer
2c0fde88f2 app: remove the legacy color-balance cruft 2012-05-02 17:50:38 +02:00
Michael Natterer
cf86aeceb3 app: add GimpOperationEqualize and port equalize to it 2012-05-02 17:46:13 +02:00
Michael Natterer
8d5471502e app: move GimpHistogram from base/ to core/ 2012-05-02 17:46:13 +02:00
Michael Natterer
a4c83d13ed app: forgot to remove the Threshold cruft typedef 2012-05-02 17:46:12 +02:00
Michael Natterer
cde58408fa app: remove the legacy levels cruft 2012-05-02 17:46:12 +02:00
Michael Natterer
a34b19774b app: remove the legacy curves cruft
and move PDB parameter collection into GimpCurvesConfig convenience
constructors.
2012-05-02 17:46:11 +02:00
Michael Natterer
9323c2f28c app: move base/boundary.[ch] to core/gimpboundary.[ch]
No other changes yet, just make the move build.
2012-05-02 17:46:02 +02:00
Michael Natterer
15957cb3c4 app: remove the legacy brightness-contrast code and use GEGL instead
it's reasonably fast now.
2012-05-02 17:45:53 +02:00
Michael Natterer
1b1245e4cc app: remove empty functions paint_funcs_setup()/free() 2012-05-02 17:45:51 +02:00
Michael Natterer
d0d50ca1ea app: remove the legacy threshold lut code 2012-05-02 17:45:49 +02:00
Michael Natterer
d7dab2bc85 app: remove the legacy invert lut code 2012-05-02 17:45:46 +02:00
Michael Natterer
9ccabe2fdf app: remove unused lut-funcs 2012-05-02 17:45:46 +02:00
Michael Natterer
059d5d9d80 app: remove orphaned Colorize typedef 2012-05-02 17:45:45 +02:00
Michael Natterer
aa07344d56 app: remove the legacy colorize code 2012-05-02 17:45:45 +02:00
Michael Natterer
e3c720ad20 app: remove the legacy threshold code 2012-05-02 17:45:45 +02:00
Michael Natterer
7aa7f168b8 app: remove the legacy posterize code 2012-05-02 17:45:45 +02:00
Michael Natterer
70b26d1ecb app: remove the legacy desaturate implementation
The GEGL one is just as fast or faster.
2012-05-02 17:45:45 +02:00
Michael Natterer
ddf0d9e6b7 app: use G_GUINT64_FORMAT to print guint64 2012-03-12 20:26:51 +01:00
Massimo Valentini
71cb4fbd71 Bug 667368: Bug in Histogram egalization 2012-03-08 18:20:45 +01:00
Alexis Wilhelm
c7c752f5df Bug 541859 - Colour Balance Range to Adjust has no Effect
This makes the different ranges have a clearly different effect,
plus speeds up the gegl op quite a lot.

NOTE: this might affect the result of scripts using color-balance
2012-03-07 21:45:59 +01:00
Massimo Valentini
c3c348e50b Bug 666949: Segfault when reading XCF file
use a guint for Tile's share_count member
2012-01-22 17:58:50 +01:00
Michael Natterer
056e09a6cb Remove the makefile.msc build system, it is unmaintained since 2008 2011-12-16 15:53:56 +01:00
Mukund Sivaraman
a8dd4b39f2 Revert "app (histogram): Fix bad loop condition"
This reverts commit 23907a297f.
2011-10-13 10:43:09 +05:30
Mukund Sivaraman
23907a297f app (histogram): Fix bad loop condition 2011-10-13 10:39:59 +05:30
Mukund Sivaraman
46e1e6ec1d app (histogram): Drop redundant assignment 2011-10-12 18:29:39 +05:30
Mukund Sivaraman
e0a60f0e23 Revert "app (histogram): Delete redundant assignments"
This reverts commit 3793c1f1ec.
2011-10-12 18:28:55 +05:30
Mukund Sivaraman
3793c1f1ec app (histogram): Delete redundant assignments 2011-10-12 17:11:39 +05:30
Massimo Valentini
ab2dad4640 Bug 639630: Windows builds can not use >4GB tile cache
on Win64 gulong -> unsigned long is not wide enough
to contain GimpBaseConfig:tile-cache-size which is a
guint64
2011-10-10 18:24:02 +02:00
Mukund Sivaraman
0a3c8c5c86 app (siox): Delete redundant total initializer 2011-10-04 14:44:56 +05:30
Mukund Sivaraman
01daf311b4 app: Remove redundant assignments 2011-10-03 13:29:02 +05:30
Michael Natterer
d34bbaec2d app: #undef G_DISABLE_DEPRECATED where GStaticMutex is used
because it's deprecated in GLib 2.30.
2011-09-28 23:27:49 +02:00
Martin Nordholts
fea6d2e5b1 app: Add pixel_regions_free() 2011-09-14 17:34:52 +02:00
Martin Nordholts
83e3e58ebc app: Remove PixelRegionIterator::dirty_tiles
It is always 1 and only used in a boolean expression.

The member was introduced and used in
bc0451b4b4 and
fd586862fc, then it effectively became
unused in e4b031932a with the

  /* Why would we wan't to set dirty_tiles to 0 here? */

comments.
2011-09-13 07:07:19 +02:00
Martin Nordholts
50acd95e9d app: Use pixel_region_has_alpha()
For increased readability.
2011-09-07 16:01:24 +02:00
Martin Nordholts
9f1187f6a5 app: Prefix TileManager functions
read_pixel_data() -> tile_manager_read_pixel_data()
write_pixel_data() -> tile_manager_write_pixel_data()
read_pixel_data_1() -> tile_manager_read_pixel_data_1()
write_pixel_data_1() -> tile_manager_write_pixel_data_1()

for consistency.
2011-09-07 12:08:43 +02:00
Martin Nordholts
314d802eb0 app: Remove tile_manager_tiles_per_col() and _per_row()
Remove tile_manager_tiles_per_col() and
tile_manager_tiles_per_row(). They were used in the projection pyramid
before TilePyramid was created and are not used any longer.
2011-08-28 12:36:05 +02:00
massimo v
63cc68561a app: SIOX memory leaks 2011-05-24 20:46:31 +02:00
Michael Natterer
cc47b2a600 libgimpwidgets/color: move the cairo color utility functions to libgimpcolor
Add CAIRO_CFLAGS to a lot of Makefiles to make this possible, and
because they pull in cairo via the libgimp headers.
2011-04-28 15:50:39 +02:00
Michael Natterer
2af539020b app: don't include individual files from libgimp* 2011-04-28 14:23:33 +02:00
Michael Natterer
8d5ac2c780 app: make TempBuf parameter of temp_buf_get_data() const 2011-04-05 22:15:30 +02:00
Enrico Schröder
aae8787ee3 app: SIOX: algorithm ignores color sensitivity changes
Fix for bug #627062: When changing the color sensitivity settings of
the Foreground Selection Tool, the SIOX algorithm gets called with
refinement=SIOX_REFINEMENT_CHANGE_SENSITIVITY, which then triggers
refinement=SIOX_REFINEMENT_RECALCULATE. However, there is no
implementation for RECALCULATE so the change is ignored. The patch
sets refinement to SIOX_REFINEMENT_ADD_FOREGROUND and _ADD_BACKGROUND
which triggers a complete recalculation.
2011-03-30 19:35:38 +02:00
Michael Natterer
bc8d5f84d6 app: remove the "offset" API from TileManager
It made the transform code hard to read and never belonged into the
tile manager anyway. It's a simple pixel buffer that should not know
about any position in an image. Instead, pass around the offsets of
tile managers explicitly, so everything is less obscure for the price
of having more parameters. This will also help replacing TileManagers
with GeglBuffers.
2011-03-26 08:30:15 +01:00
Michael Natterer
6ec5190da2 app: remove unused files base/tile-manager-crop.[ch] 2011-03-26 00:10:19 +01:00
Michael Natterer
2281645f5b app: remove unused function temp_buf_new_check() 2011-03-08 16:50:58 +01:00
Michael Natterer
7b320c7bf6 Get rid of DOS line endings 2010-11-21 16:09:09 +01:00
Sven Neumann
bf6a2e6451 app/base: formatting 2010-10-10 00:32:30 +02:00
Michael Natterer
3de4d7263a app: Bug 631619 - Drawing artifacts spread by paintbrush outline on canvas
Add a transform matrix to GimpCanvasBoundary and get rid of the whole
BoundSeg transform code in boundary.c and gimpbrushcore.c, it was
impossible to get this right on that level. Also fix te extents of
GimpCanvasBoundary os it leaves no artifacts.
2010-10-09 22:00:19 +02:00