Gimp/plug-ins/common
Barak Itkin d2076552db Fix the bugs in the conversion from drawables to cairo surfaces.
Most of the code was taken from the print plugin, and it includes iterating
over pixel regions (instead of fetching them at once), correct support for RGBA
(which was buggy previously), etc.
This commit removes the usage of A8 cairo surfaces for GRAY layers, simply
because it seems not to work. This should be investigated and fixed in order
to optimize the file size (by saving gray images as gray).
Also should be checked is why we treat the cairo bpp as 4 when calculating the
pixel locations in RGB cairo buffers. The print plug-in does this and it works,
and when I tried 3 it didn't work. May be because of word alignment...
2011-12-31 03:34:23 +02:00
..
.gitignore Add the web-page plug-in 2011-03-31 00:39:57 +05:30
alien-map.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
align-layers.c Bug 661313 - "None" string needs differentiation (message context) 2011-11-16 23:13:03 +01:00
animation-optimize.c plug-ins: set progress to 1.0 when done 2011-04-10 19:28:43 +02:00
animation-play.c libgimpwidgets: add gdk_event_triggers_context_menu() to gimp3migration.[ch] 2011-10-02 16:23:59 +02:00
antialias.c antialias: Delete dead variable and assignment 2011-10-10 10:03:43 +05:30
apply-canvas.c apply-canvas: Remove dead assignments (and variable) 2011-10-04 14:14:18 +05:30
blinds.c blinds: Remove dead variables and assignments 2011-10-10 09:46:57 +05:30
blur-gauss-selective.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
blur-gauss.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
blur-motion.c blur-motion: Move variables into inner block, where they're used 2011-10-06 08:45:58 +05:30
blur.c Bug 155733 – need to check return values of gimp_drawable_mask_bounds() 2009-06-07 23:52:37 +02:00
border-average.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
bump-map.c libgimpwidgets: add gtk_paned_new() to gimp3migration.[ch] 2011-10-02 14:36:42 +02:00
cartoon.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
channel-mixer.c channel-mixer: Remove dead assignment (and variable) 2011-10-04 14:20:25 +05:30
checkerboard.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
cml-explorer.c Bug 661313 - "None" string needs differentiation (message context) 2011-11-16 23:13:03 +01:00
color-cube-analyze.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
color-enhance.c various plug-in parameter cleanups that have piled up on my disk: some 2009-04-11 16:57:42 +00:00
color-exchange.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
color-to-alpha.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
colorify.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
colormap-remap.c libgimpwidgets: add gdk_event_triggers_context_menu() to gimp3migration.[ch] 2011-10-02 16:23:59 +02:00
compose.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
contrast-normalize.c various plug-in parameter cleanups that have piled up on my disk: some 2009-04-11 16:57:42 +00:00
contrast-retinex.c contrast-retinex: Delete redundant assignment and move variable to local block 2011-10-06 19:39:59 +05:30
contrast-stretch-hsv.c various plug-in parameter cleanups that have piled up on my disk: some 2009-04-11 16:57:42 +00:00
contrast-stretch.c various plug-in parameter cleanups that have piled up on my disk: some 2009-04-11 16:57:42 +00:00
convolution-matrix.c convolution-matrix: Remove dead code and variable 2011-10-06 09:06:27 +05:30
crop-auto.c various plug-in parameter cleanups that have piled up on my disk: some 2009-04-11 16:57:42 +00:00
crop-zealous.c Fix memory and descriptor leaks 2010-11-12 21:56:17 +01:00
cubism.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
curve-bend.c curve-bend: Delete dead variable and assignment 2011-10-10 10:11:40 +05:30
decompose.c Call progress_end() when the plug-in has finished. 2011-11-17 21:47:26 -05:00
deinterlace.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
depth-merge.c depth-merge: Delete redundant assignment 2011-10-06 09:11:53 +05:30
despeckle.c despeckle: Rename variables for better clarity 2011-10-08 08:19:57 +05:30
destripe.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
diffraction.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
displace.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
edge-dog.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
edge-laplace.c plug-ins: set progress to 1.0 when done 2011-04-10 19:28:43 +02:00
edge-neon.c edge-neon: Comment out unused variable and assignment 2011-10-10 10:10:08 +05:30
edge-sobel.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
edge.c edge: Delete dead variables and assignments 2011-10-06 19:21:14 +05:30
emboss.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
engrave.c engrave: Fix condition as average[] is initialized based on num_channels 2011-10-13 10:20:46 +05:30
file-aa.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
file-cel.c file-cel: Drop dead assignment 2011-10-12 19:07:08 +05:30
file-compressor.c Fix memory and descriptor leaks 2010-11-12 21:56:17 +01:00
file-csource.c file-csource: Remove dead assignments (and variable) 2011-10-04 14:23:58 +05:30
file-desktop-link.c Bug 645456 - Inconsistent window (role) naming scheme 2011-04-08 20:31:34 +02:00
file-dicom.c file-dicom: Drop dead variable and assignment 2011-10-12 19:04:47 +05:30
file-gbr.c Bug 645456 - Inconsistent window (role) naming scheme 2011-04-08 20:31:34 +02:00
file-gif-load.c file-gif-load: Conditionally compile debug code 2011-10-06 08:33:26 +05:30
file-gif-save.c file-gif-save: Drop dead variable and assignments 2011-10-12 16:57:09 +05:30
file-gih.c file-gih: Remove unused but set variable 2011-10-03 11:12:41 +05:30
file-glob.c Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
file-header.c Bug 645456 - Inconsistent window (role) naming scheme 2011-04-08 20:31:34 +02:00
file-html-table.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
file-jp2-load.c file-jp2-load: Delete dead variable and assignment 2011-10-08 18:30:21 +05:30
file-mng.c libgimpwidgets: add gtk_scale_new() to gimp3migration.[ch] 2011-10-02 14:36:41 +02:00
file-pat.c plug-ins: set progress to 1.0 when done 2011-04-10 19:28:43 +02:00
file-pcx.c plug-ins: set progress to 1.0 when done 2011-04-10 19:28:43 +02:00
file-pdf-load.c plug-ins: use g_message, not gimp_message in file-pdf-load 2011-12-07 19:09:31 +01:00
file-pdf-save.c Fix the bugs in the conversion from drawables to cairo surfaces. 2011-12-31 03:34:23 +02:00
file-pix.c plug-ins: set progress to 1.0 when done 2011-04-10 19:28:43 +02:00
file-png.c file-png: Display a readable string when error message is unavailable 2011-12-06 20:48:09 +05:30
file-pnm.c file-pnm: Write help text for file-pnm-load 2011-12-06 20:43:55 +05:30
file-ps.c Bug 661313 - "None" string needs differentiation (message context) 2011-11-16 23:13:03 +01:00
file-psp.c Bug 661313 - "None" string needs differentiation (message context) 2011-11-16 23:13:03 +01:00
file-raw.c fix the rgb565 mode of the raw plugin. 2011-12-01 11:05:09 +01:00
file-sunras.c file-sunras: Delete dead variable and assignment 2011-10-06 19:26:06 +05:30
file-svg.c file-svg: Update help text of file-svg-load-thumb 2011-12-06 23:52:39 +05:30
file-tga.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
file-tiff-load.c file-tiff-load: Move var declaration and remove dead assignment 2011-10-11 10:12:48 +05:30
file-tiff-save.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
file-wmf.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
file-xbm.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
file-xmc.c file-xmc: reword/fix UI messages 2011-12-29 17:34:15 +01:00
file-xpm.c Revert "file-xpm: Plug a leak" 2011-10-12 18:25:17 +05:30
file-xwd.c file-xwd: Delete dead variable and assignment 2011-10-11 10:04:43 +05:30
film.c film: Remove dead assignment (and variable) 2011-10-06 08:38:46 +05:30
filter-pack.c libgimpwidgets: add gtk_scale_new() to gimp3migration.[ch] 2011-10-02 14:36:41 +02:00
fractal-trace.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
gimprc.common Add the web-page plug-in 2011-03-31 00:39:57 +05:30
gradient-map.c gradient-map: Free gradient_name when done using it 2011-05-07 06:44:22 +05:30
grid.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
guillotine.c Fix some memleaks 2011-08-18 13:37:35 -04:00
hot.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
illusion.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
iwarp.c iwarp: Delete dead variables and assignments 2011-10-10 10:01:30 +05:30
jigsaw.c jigsaw: Remove dead assignments (and variables) 2011-10-04 14:18:43 +05:30
lcms.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
lens-apply.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
lens-distortion.c lens-distortion: Delete dead variable and assignment 2011-10-04 14:46:39 +05:30
lens-flare.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
mail.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
Makefile.am Move libpng specific warning CFLAGS to PNG_CFLAGS 2011-05-05 09:48:02 +05:30
max-rgb.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
mkgen.pl libgimp: add gimp_layer_new_from_surface() 2011-04-20 23:58:00 +02:00
mosaic.c mosaic: Drop unnecessary assignment 2011-10-12 17:25:44 +05:30
newsprint.c libgimpwidgets: add gtk_paned_new() to gimp3migration.[ch] 2011-10-02 14:36:42 +02:00
nl-filter.c nl-filt: Remove inline from functions 2011-10-08 18:19:25 +05:30
noise-hsv.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
noise-randomize.c noise-randomize: Delete dead assignment and variable 2011-10-04 14:34:29 +05:30
noise-rgb.c noise-rgb: Drop dead variable and assignment 2011-10-11 10:13:48 +05:30
noise-solid.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
noise-spread.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
nova.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
oilify.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
photocopy.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
pixelize.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
plasma.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
plugin-browser.c plug-ins: remove unused "labels" variable, leftover from GtkTree code 2011-10-28 09:34:59 +02:00
plugin-defs.pl Move libpng specific warning CFLAGS to PNG_CFLAGS 2011-05-05 09:48:02 +05:30
polar-coords.c polar-coords: Remove redundant assignment 2011-10-06 08:53:34 +05:30
procedure-browser.c Bug 645456 - Inconsistent window (role) naming scheme 2011-04-08 20:31:34 +02:00
qbist.c qbist: Delete dead variable and assignment 2011-10-11 09:57:55 +05:30
red-eye-removal.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
ripple.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
rotate.c rotate: Remove redundant assignment 2011-10-06 09:08:22 +05:30
sample-colorize.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
screenshot.c screenshot: Delete dead variable 2011-10-10 09:54:08 +05:30
semi-flatten.c semi-flatten: Drop dead variable and assignment 2011-10-12 17:08:21 +05:30
sharpen.c sharpen: Handle img_bpp outside bounds (to shut up static analyzer) 2011-10-03 11:06:55 +05:30
shift.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
sinus.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
smooth-palette.c plug-ins: set progress to 1.0 when done 2011-04-10 19:28:43 +02:00
softglow.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
sparkle.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
sphere-designer.c sphere-designer: Don't compute sqrt() unless absolutely necessary 2011-10-11 10:01:36 +05:30
threshold-alpha.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
tile-glass.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
tile-paper.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
tile-seamless.c plug-ins: remove some -Wunused-but-set-variable 2011-05-05 12:49:38 +02:00
tile-small.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
tile.c tile: Delete dead variables and assignments 2011-10-08 18:15:40 +05:30
unit-editor.c unit-editor: Drop dead variable and assignment 2011-10-11 10:16:49 +05:30
unsharp-mask.c unsharp-mask: Delete dead variable and assignment 2011-10-10 10:02:34 +05:30
value-invert.c plug-ins/common/*.c plug-ins/color-rotate/color-rotate.c 2009-01-19 20:11:36 +00:00
value-propagate.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
van-gogh-lic.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
video.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
warp.c warp: Drop dead variable and assignment 2011-10-12 18:59:44 +05:30
waves.c waves: Remove dead assignments (and variables) 2011-10-03 18:50:23 +05:30
web-browser.c web-browser: Drop dead variable and assignment 2011-10-11 10:15:35 +05:30
web-page.c Added contextual separation for a user visible message 2011-12-04 01:37:18 +04:00
whirl-pinch.c plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
wind.c warp: Move variable to local block and drop dead assignment 2011-10-12 16:55:58 +05:30