Commit Graph

31645 Commits

Author SHA1 Message Date
Michael Natterer 03ba250879 app: remove combine_mask_and_region() and its helper functions 2012-05-02 17:51:12 +02:00
Michael Natterer 4772d3e832 app: add gimp_gegl_combine_mask() and use it in GimpPaintCore 2012-05-02 17:51:12 +02:00
Michael Natterer c07790fa54 app: add gimp_gegl_apply_mask() and use it in GimpPaintCore 2012-05-02 17:51:12 +02:00
Michael Natterer 1bbd3d40a8 app: make the GimpTempBuf struct private and add accessors 2012-05-02 17:51:12 +02:00
Michael Natterer 3a46cfbbc6 app/pdb: allow some more stuff on indexed by simply removing the restriction 2012-05-02 17:51:12 +02:00
Michael Natterer a016b8102b app: change the maskPR in gimp_drawable_replace_buffer() to GeglBuffer 2012-05-02 17:51:12 +02:00
Michael Natterer a295589157 app: enable blur/sharpen via GimpConvolve on indexed drawables 2012-05-02 17:51:12 +02:00
Michael Natterer 5273a6dbab app: the paint_mask buffer in gimp_paint_core_replace() contains a GimpTempBuf
not a TileManager, so use the right API to get a PixelRegion on it.
2012-05-02 17:51:12 +02:00
Michael Natterer 028d492937 app: GimpBrushCore: hardode one less brush mask format 2012-05-02 17:51:11 +02:00
Michael Natterer a15056095b app: enable GimpDodgeBurn on indexed drawables 2012-05-02 17:51:11 +02:00
Michael Natterer 7f8c6c475f app: show the precision in the image title string for %t 2012-05-02 17:51:11 +02:00
Michael Natterer 8f3fe621e6 app: s/Bit/bit/ in the precision strings 2012-05-02 17:51:11 +02:00
Michael Natterer 736eb26637 app: port GimpCanvasTransformPreview to gegl_buffer_sample() 2012-05-02 17:51:11 +02:00
Michael Natterer ccbd46afce app: fix the image's projection to 8 bit until we got a GEGL projection 2012-05-02 17:51:11 +02:00
Michael Natterer a34afd63d8 app: add GIMP_PRECISION_FLOAT and all its formats
Images in that format can't be created currently, the legacy code
crashes royally on it.
2012-05-02 17:51:11 +02:00
Michael Natterer e285eb5daa app: hide GimpTemplateEditor's precision combo 2012-05-02 17:51:10 +02:00
Michael Natterer 1cec6565c9 app: allow to create TileManagers with >4 bpp 2012-05-02 17:51:10 +02:00
Michael Natterer 8a55b13577 app: add gimp_babl_component_format() and use it in GimpImage 2012-05-02 17:51:10 +02:00
Michael Natterer 8d4672eb5e app: get mask and component formats from the image instead of hardcoding. 2012-05-02 17:51:10 +02:00
Michael Natterer d724aca1a3 app: add a precision combo to GimpTemplateEditor 2012-05-02 17:51:10 +02:00
Michael Natterer acda2b06fc app: add "precision" member and API to GimpTemplate 2012-05-02 17:51:09 +02:00
Michael Natterer 4dee9fa672 app: rename GimpTemplate::image-type to ::base-type
but keep the "image-type" property name, it's stored in template files.
2012-05-02 17:51:09 +02:00
Michael Natterer c07325a005 app: add "precision" argument to gimp_image_new() 2012-05-02 17:51:09 +02:00
Michael Natterer 4f83ca48dc app: add missing formats to gimp_babl_get_description() 2012-05-02 17:51:09 +02:00
Michael Natterer 678255604d app: add a GimpPrecision enum that for now contains GIMP_PRECISION_U8
Add gimp_image_get_precision(), and a "precision" argument to
gimp_babl_format(). Change code accordingly and do some more format
related cleanups.
2012-05-02 17:51:09 +02:00
Michael Natterer 5a4cac2abd app: add XXX comment about assuming u8 to GimpHistogram 2012-05-02 17:51:09 +02:00
Michael Natterer 022d30b980 app: use the original GimpTempBufs' format in gimpbrush-transform.c 2012-05-02 17:51:09 +02:00
Michael Natterer 7c271f15fc app: use gimp_image_get_component_format() instead of hardcoding "A u8"
to extract a drawable's alpha channel into a layer mask.
2012-05-02 17:51:09 +02:00
Michael Natterer 85b83b65ff app: clean up GimpMaskUndo's GeglRectangle code 2012-05-02 17:51:09 +02:00
Michael Natterer 7d9cd6a413 app: don't hardcode "Y u8" when checking whether to clip transformed buffers
instead, check if the format has alpha.
2012-05-02 17:51:08 +02:00
Michael Natterer 3af70584d0 app: remove bpp <-> format conversion stuff from gimp-gegl-utils.[ch]
Fix stuff by picking formats as we get data from the "outside", like a
GdkPixbuf, and pass around more proper formats from where we know them.
2012-05-02 17:51:08 +02:00
Michael Natterer 15d1827ead app: add gimp_babl_format() and use it in gimp_image_get_format() 2012-05-02 17:51:08 +02:00
Michael Natterer ff931e1ded app: move gimp_babl_format_get_base_type() to gimp-babl.[ch]
The GimpImageBaseType enum is going to go away, but a format -> enum
API is going to stay around.
2012-05-02 17:51:08 +02:00
Michael Natterer e737bf77fa app: add gimp-babl.[ch] and move Babl specific code there 2012-05-02 17:51:08 +02:00
Michael Natterer 16635e5f0a app: gimp_drawable_preview_bytes() -> gimp_drawable_get_preview_format() 2012-05-02 17:51:08 +02:00
Michael Natterer 85bd6b0dd9 app: pass a format, not bpp, to gimp_viewable_get_dummy_pixbuf()
and add tons of <gegl.h> includes.
2012-05-02 17:51:08 +02:00
Ville Sokk c291524e6c app: added hard light, difference, subtract, grain extract, grain merge and difference gegl blending modes 2012-05-02 17:51:08 +02:00
Michael Natterer 03da4fb280 app: make masks use linear, not gamma corrected formats 2012-05-02 17:51:08 +02:00
Michael Natterer 3e9fdf1815 app: change GimpBoundary to find the boundary a float component
Require passing in a Babl format that will extract the float component
the algorithm should run on.
2012-05-02 17:51:07 +02:00
Michael Natterer 3ea0e3f090 app: return double not int from GimpPickable::get_opacity_at()
and fix GimpLayer's impl to honor the mask also for layers without
alpha.
2012-05-02 17:51:07 +02:00
Michael Natterer e6975ed065 app: add format parameter to GimpPickable::get_pixel_at()
allowing NULL for the pickable's native format. Fix and simplify auto
cropping to always use "R'G'B'A u8".
2012-05-02 17:51:07 +02:00
Michael Natterer a61885f324 app: add XXX comments about hardcoded or NULL formats 2012-05-02 17:51:07 +02:00
Michael Natterer 9146aeaa22 app: ask the image for the RGB format in gimp_selection_extract()
instead of hardcoding it.
2012-05-02 17:51:07 +02:00
Michael Natterer 53bda86ceb app: code cleanup in the GEGL ops 2012-05-02 17:51:06 +02:00
Michael Natterer f0daec882f app: use an explicit tile format when talking to plug-ins 2012-05-02 17:51:06 +02:00
Michael Natterer 309a3a1c35 app: pass the format of saved tiles around explicitly in the XCF code
It does the same as before, but is better prepared for the future now.
2012-05-02 17:51:06 +02:00
Ville Sokk c24d9d76e5 app: added addition, burn, darken only, dodge, multiply, overlay, screen and soft light gegl blending modes 2012-05-02 17:51:06 +02:00
Ville Sokk 0233c99c8b app: cleaned dissolve and lighten only modes 2012-05-02 17:51:06 +02:00
Michael Natterer 793bebe2d3 app: enable smudge on indexed images 2012-05-02 17:51:06 +02:00
Michael Natterer 266b0d069c app: require R'G'B'A u8 in gimp_gegl_smudge_blend() and simplify it massively 2012-05-02 17:51:06 +02:00