Michael Natterer
0e458f9613
app: remove scale_pixels()
2012-05-02 17:50:51 +02:00
Michael Natterer
c7fd41502a
app: remove gray_to_rgb_pixels()
2012-05-02 17:50:51 +02:00
Michael Natterer
1b9d6d931d
app: remove add_alpha_region() and its helper functions
2012-05-02 17:50:51 +02:00
Michael Natterer
e437d72468
app: remove color_pixels()
2012-05-02 17:50:47 +02:00
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
8e31fdf363
app: remove paint-funcs/reduce-region.[ch]
2012-05-02 17:50:42 +02:00
Michael Natterer
23811be3f6
app: remove paint-funcs/scale-region.[ch]
2012-05-02 17:50:42 +02:00
Øyvind Kolås
76546f7e7c
rename lanczos to lohalo
...
GEGL had a broken lanczos implementation, the lohalo implementation is better
anyways (at least when passed a proper scale matrix).
2012-05-02 17:50:38 +02:00
Michael Natterer
865b925598
app: add GimpOperationShapeburst to calculate the distance map for blend
2012-05-02 17:50:36 +02:00
Michael Natterer
9d8d72a6ee
app: remove color_region()
2012-05-02 17:46:14 +02:00
Michael Natterer
b08ba684cf
app: replace border_region() by GimpOperationBorder
2012-05-02 17:46:14 +02:00
Michael Natterer
8fc7c17d39
app: replace fatten_region() by GimpOperationGrow
2012-05-02 17:46:14 +02:00
Michael Natterer
fa072f0cd4
app: remove thin_region(), turns out that gimp:shrink was not slow after all
2012-05-02 17:46:14 +02:00
Michael Natterer
c24710b23a
app: remove swap_region() and its helper function
2012-05-02 17:46:10 +02:00
Michael Natterer
cbb7b71599
app: remove shade_pixels(), no clue when it became unused
2012-05-02 17:46:03 +02:00
Michael Natterer
09f9a91a27
app: forgot to remove extract_alpha_region()'s declaration
2012-05-02 17:46:03 +02:00
Michael Natterer
bc75626d99
app: remove extract_from_region() and its helper functions
2012-05-02 17:46:03 +02:00
Michael Natterer
dd539f199b
app: remove extract_alpha_region() and its helper functions
2012-05-02 17:46:02 +02:00
Michael Natterer
ff49117edc
app: remove color_region_mask()
2012-05-02 17:46:01 +02:00
Michael Natterer
6eb015493d
app: remove pattern_region()
2012-05-02 17:46:01 +02:00
Michael Natterer
97b41ecbb6
app: remove multiply_alpha_region() and separate_alpha_region()
2012-05-02 17:45:54 +02:00
Michael Natterer
07ba5b37a0
app: remove shade_region()
2012-05-02 17:45:54 +02:00
Michael Natterer
4ab4da0e6c
app: remove flatten_region() and its helper functions
2012-05-02 17:45:53 +02:00
Michael Natterer
528e007e03
app: remove copy_color() and its helper functions
2012-05-02 17:45:53 +02:00
Michael Natterer
119b58b659
app: remove copy_component() and its helper functions
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
ef3cfb48cc
app: remove gaussian_blur_region() and its helpers
2012-05-02 17:45:50 +02:00
Michael Natterer
43b39c432c
app: remove clear_region(), it's replaced by GEGL everywhere
2012-05-02 17:45:50 +02:00
Michael Natterer
caeeca2111
app: remove the unused copy_region_nocow()
2012-05-02 17:45:48 +02: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
1c730f94ac
app (paint-funcs): Delete dead assignment and move variable
2011-10-04 14:55:41 +05:30
Mukund Sivaraman
0ccaaf8216
app: Remove dead assignments (and variable)
2011-10-03 13:05:58 +05:30
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
8e7484942a
app: Remove COWSHOW debug output
...
It's 12 years old and will become even more obsolete when we port GIMP
to GEGL.
2011-08-29 02:51:05 +02:00
Michael Natterer
c35ff719a7
app/libgimp*: remove stuff found by -Wunused-but-set-variable
2011-05-01 23:23:19 +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
Rupert Weber
e986310e3e
Bug 630201 - remove unused layer-modes.c in app/paint-funcs
...
The compositing functions in layer-modes.c have been obsolete
for seven years now, since gimp-composite was made default
by 1b33a15e03
in 2003.
2010-10-06 21:26:14 +02:00
Alexia Death
2c4c9ad333
app: Clean up the hardness feature. Lets convolve PixelRegions.
2010-01-01 18:16:29 +02:00
Alexia Death
9774988f30
Real dynamic hardness support for both generated and pixmap brushes.
...
For generated brushes, dynamic input is applied on top of the set hardness as a factor.
For pixmaps, it influences the amount of blur applied to the stamp. Be warned, process is slow
for large pixmaps. The odd feature previously advertised as hardness is left in but disabled.
If I figure out what it should be exposed as, it might be made available again.
2010-01-01 15:54:31 +02:00
Sven Neumann
fab84cac88
Bug 571628 – Scaling image to 25% turn background from white to grey
...
2009-02-13 Sven Neumann <sven@gimp.org>
Bug 571628 – Scaling image to 25% turn background from white to
grey
* app/paint-funcs/scale-region.c (pixel_average2): fixed
right-shift
for GRAYA pixels.
svn path=/trunk/; revision=28025
2009-02-13 20:44:47 +00:00
Martin Nordholts
4d7a6b10d1
Added .gitignore files generated with git svn create-ignore.
...
svn path=/trunk/; revision=27972
2009-01-31 11:37:44 +00:00
Michael Natterer
d9b5207aa2
Change licence to GPLv3 (and to LGPLv3 for libgimp).
...
2009-01-17 Michael Natterer <mitch@gimp.org>
* all files with a GPL header and all COPYING files:
Change licence to GPLv3 (and to LGPLv3 for libgimp).
Cleaned up some copyright headers and regenerated the parsers in
the ImageMap plugin.
svn path=/trunk/; revision=27913
2009-01-17 22:28:01 +00:00
Martin Nordholts
ddaa0b48ec
s/temp_buf_data/temp_buf_get_data/
...
* app/base/pixel-region.c
* app/base/temp-buf.c
* app/base/temp-buf.h
* app/core/gimpbrush-load.c
* app/core/gimpbrush-scale.c
* app/core/gimpbrush.c
* app/core/gimpbrushgenerated.c
* app/core/gimpgradient.c
* app/core/gimpimage.c
* app/core/gimppalette.c
* app/core/gimppattern-load.c
* app/core/gimppattern.c
* app/core/gimppreviewcache.c
* app/core/gimpviewable.c
* app/paint-funcs/paint-funcs-generic.h
* app/paint/gimpbrushcore.c
* app/paint/gimpclone.c
* app/paint/gimperaser.c
* app/paint/gimpheal.c
* app/paint/gimpink.c
* app/paint/gimppaintbrush.c
* app/pdb/brush-cmds.c
* app/pdb/brushes-cmds.c
* app/pdb/drawable-cmds.c
* app/pdb/image-cmds.c
* app/pdb/pattern-cmds.c
* app/pdb/patterns-cmds.c
* app/text/gimpfont.c
* app/tools/gimpiscissorstool.c
* app/vectors/gimpvectors-preview.c
* app/widgets/gimpbrushselect.c
* app/widgets/gimppatternselect.c
* app/widgets/gimpviewrenderer.c
svn path=/trunk/; revision=27782
2008-12-13 10:35:53 +00:00
Sven Neumann
8ad82efc25
Bug 560283 – "Scale image..." causes distortion around edges.
...
2008-11-11 Sven Neumann <sven@gimp.org>
Bug 560283 – "Scale image..." causes distortion around edges.
* app/paint-funcs/scale-region.c (scale): corrected fix for
bug #556248 .
svn path=/trunk/; revision=27612
2008-11-11 07:47:31 +00:00
Martin Nordholts
5d7bf3ca4b
Implemented Erase, Anti Erase, Color Erase and Replace. These are not
...
* app/gegl/gimpoperationpointlayermode.c
(gimp_operation_point_layer_mode_process): Implemented Erase, Anti
Erase, Color Erase and Replace. These are not normal layer modes
and handle alpha in their own way. In addition to this, the
behavior of Replace doesn't map very well to GEGL which uses
infinite sized "layers".
Completely works the same:
o Erase
o Anti Erase
o Color Erase
Works different but similar:
o Replace
* app/paint-funcs/paint-funcs.[ch]: Expose
paint_funcs_color_erase_helper() so it can be used in the
GimpOperationPointLayerMode implementation. Once the migration is
complete this function can be moved entirely to the op and be
tailored to work on premultiplied data.
svn path=/trunk/; revision=27502
2008-10-31 21:02:26 +00:00
Sven Neumann
064f2afd85
Bug 557950 – Scaling in Gimp 2.6 is much slower than in Gimp 2.4
...
2008-10-29 Sven Neumann <sven@gimp.org>
Bug 557950 – Scaling in Gimp 2.6 is much slower than in Gimp 2.4
* app/paint-funcs/scale-region.c: don't do multi-pass scaling
when
we are scaling up.
svn path=/trunk/; revision=27462
2008-10-29 19:37:52 +00:00
Sven Neumann
8626bed826
use the inverse of the scale factor so that we can multiply instead of
...
2008-10-24 Sven Neumann <sven@gimp.org>
* app/paint-funcs/scale-region.c (scale): use the inverse of the
scale factor so that we can multiply instead of dividing in the
loops.
svn path=/trunk/; revision=27380
2008-10-23 22:07:59 +00:00
Martin Nordholts
e38ca5490a
Rename the convenient channel offset defines from FOO_PIX to FOO as this
...
* app/base/base-types.h: Rename the convenient channel offset
defines from FOO_PIX to FOO as this increases readability.
* app/base/color-balance.c
* app/base/colorize.c
* app/base/desaturate.c
* app/base/hue-saturation.c
* app/base/siox.c
* app/base/threshold.c
* app/core/gimp-edit.c
* app/core/gimp-transform-region.c
* app/core/gimpchannel.c
* app/core/gimpdrawable-bucket-fill.c
* app/core/gimpdrawable-convert.c
* app/core/gimpdrawable-stroke.c
* app/core/gimpdrawable.c
* app/core/gimpimage-convert.c
* app/core/gimpimage.c
* app/core/gimppalette-import.c
* app/core/gimppickable.c
* app/gegl/gimpoperation*mode.c
* app/gegl/gimpoperationcolorbalance.c
* app/gegl/gimpoperationcolorize.c
* app/gegl/gimpoperationhuesaturation.c
* app/gegl/gimpoperationlevels.c
* app/gegl/gimpoperationposterize.c
* app/gegl/gimpoperationthreshold.c
* app/paint-funcs/subsample-region.c
* app/paint/gimpclone.c
* app/paint/gimppaintbrush.c
* app/widgets/gimpviewrenderer.c: Adapt.
svn path=/trunk/; revision=27324
2008-10-19 13:47:09 +00:00
Sven Neumann
f55b832bd3
Bug 556248 – Scaling gives 'jagged' edges
...
2008-10-16 Sven Neumann <sven@gimp.org>
Bug 556248 – Scaling gives 'jagged' edges
* app/paint-funcs/scale-region.c (scale): calculate pixel
contributions based on pixel centers, not on pixel origins.
svn path=/trunk/; revision=27292
2008-10-15 22:43:27 +00:00
Sven Neumann
b387734c3d
Bug 547967 – Improve app/paint-funcs/ maintainability
...
2008-10-13 Sven Neumann <sven@gimp.org>
Bug 547967 – Improve app/paint-funcs/ maintainability
Applied patch from Luidnel Maignan that splits the legacy code
for
layer modes into new files.
* app/paint-funcs/Makefile.am
* app/paint-funcs/layer-modes.[ch]
* app/paint-funcs/paint-funcs-utils.h: new files with code taken
from ...
* app/paint-funcs/paint-funcs-generic.h
* app/paint-funcs/paint-funcs.c: ... these two files.
svn path=/trunk/; revision=27268
2008-10-13 18:51:32 +00:00