Gimp/plug-ins/common
Alx Sa f59768647d
plug-ins: Set background fill for multi-page PDF
Resolves #14752
Our previous logic only worked for single-page PDFs.
If a multi-page PDF was exported, only the first layer
would have the background color set - the rest would
always be transparent regardless of user choice.

This patch moves the "fill background" logic deeper into
the layer drawing code, so that it is considered for each
layer rather than once at the beginning. It is also adjusted
for different situations, such as when the user wants group
layers to be combined.

(cherry picked from commit 6910945bd4)
2025-10-17 09:25:27 -03:00
..
align-layers.c extensions, libgimp, plug-ins: remove n_drawables arg from GimpImageProcedure's… 2024-10-28 22:08:45 +01:00
animation-optimize.c Fix spelling errors found with codespell 2025-01-04 15:11:03 +00:00
animation-play.c plug-ins: Show frames in Playback progress bar 2025-09-17 16:40:20 +02:00
blinds.c extensions, libgimp, plug-ins: remove n_drawables arg from GimpImageProcedure's… 2024-10-28 22:08:45 +01:00
border-average.c extensions, libgimp, plug-ins: remove n_drawables arg from GimpImageProcedure's… 2024-10-28 22:08:45 +01:00
busy-dialog.c plug-ins: Port argument macros to functions 2024-06-13 23:17:48 +00:00
checkerboard.c extensions, libgimp, plug-ins: remove n_drawables arg from GimpImageProcedure's… 2024-10-28 22:08:45 +01:00
cml-explorer.c Issue #12045: no defaults for plugin args of type File. 2025-01-22 17:53:21 +01:00
colormap-remap.c extensions, libgimp, plug-ins: remove n_drawables arg from GimpImageProcedure's… 2024-10-28 22:08:45 +01:00
compose.c plug-ins: use a temporary image to get the buffer... 2025-09-17 17:50:25 +02:00
contrast-retinex.c extensions, libgimp, plug-ins: remove n_drawables arg from GimpImageProcedure's… 2024-10-28 22:08:45 +01:00
crop-zealous.c extensions, libgimp, plug-ins: remove n_drawables arg from GimpImageProcedure's… 2024-10-28 22:08:45 +01:00
curve-bend.c app, libgimp*, pdb, plug-ins: rename various public API name s/float/double/. 2024-11-02 15:00:03 +01:00
decompose.c extensions, libgimp, plug-ins: remove n_drawables arg from GimpImageProcedure's… 2024-10-28 22:08:45 +01:00
depth-merge.c extensions, libgimp, plug-ins: remove n_drawables arg from GimpImageProcedure's… 2024-10-28 22:08:45 +01:00
despeckle.c plug-ins: CWE-190: Integer Overflow or Wraparound in Despeckle 2025-05-07 14:50:11 -04:00
destripe.c extensions, libgimp, plug-ins: remove n_drawables arg from GimpImageProcedure's… 2024-10-28 22:08:45 +01:00
file-aa.c app, libgimpcolor, plug-ins: move legacy luminance macros to private. 2024-11-02 00:27:02 +01:00
file-cel.c Issue #12045: no defaults for plugin args of type File. 2025-01-22 17:53:21 +01:00
file-compressor.c app, libgimp, pdb, plug-ins: improve and rename gimp_file_save_thumbnail() to… 2025-01-21 20:31:27 +01:00
file-csource.c Issue #12012: Don't require GUI for C source and HTML export 2025-09-17 17:54:48 +02:00
file-desktop-link.c plug-ins: fix some broken macros with a massive search-and-replace. 2023-10-18 18:29:37 +02:00
file-dicom.c plug-ins: remove doubled word in dicom string 2025-09-17 17:50:25 +02:00
file-farbfeld.c plug-ins: Fix ZDI-CAN-27836 2025-09-17 17:50:25 +02:00
file-gbr.c app, libgimp*, plug-ins: move all GimpObjectArray procedure args to GimpCoreObjectArray. 2024-10-25 23:28:42 +02:00
file-gegl.c app, libgimp*, pdb, plug-ins: review and enhance MR !1549. 2024-08-18 22:46:47 +02:00
file-gif-export.c libgimp, plug-ins: rename the various "save-*" metadata arguments… 2025-01-20 17:58:30 +01:00
file-gif-load.c plug-ins: get rid of all remaining usage of gimp_image_[gs]et_colormap(). 2024-09-23 18:20:14 +02:00
file-gih.c plug-ins: add name label for brush pipe selection modes 2025-09-17 16:40:21 +02:00
file-glob.c plug-ins: Port argument macros to functions 2024-06-13 23:17:48 +00:00
file-header.c plug-ins: get rid of all remaining usage of gimp_image_[gs]et_colormap(). 2024-09-23 18:20:14 +02:00
file-heif.c plug-ins: Mark FF, AVIF, LNK, QOI and ICNS names as per-process translatable 2025-09-17 16:40:18 +02:00
file-html-table.c Issue #12012: Don't require GUI for C source and HTML export 2025-09-17 17:54:48 +02:00
file-iff.c plug-ins: Fix ZDI-CAN-27793 2025-09-17 17:50:25 +02:00
file-jp2-load.c plug-ins: make JPEG 2000 codestream title translatable 2025-09-17 16:47:33 +02:00
file-jpegxl.c plug-ins: simplify JXL export options 2025-01-29 14:43:33 +00:00
file-lnk.c plug-ins: Mark LNK and ICNS descriptions as per-process translatable 2025-09-17 16:40:18 +02:00
file-mng.c libgimp*, plug-ins: now hide GimpParamSpecChoice struct. 2025-01-25 01:28:19 +01:00
file-pat.c app, libgimp*, plug-ins: move all GimpObjectArray procedure args to GimpCoreObjectArray. 2024-10-25 23:28:42 +02:00
file-pcx.c app, libgimp, pdb, plug-ins: layerarray PDB type is now a GimpCoreObjectArray. 2024-10-25 23:28:42 +02:00
file-pdf-export.c plug-ins: Set background fill for multi-page PDF 2025-10-17 09:25:27 -03:00
file-pdf-load.c libgimpwidgets, plug-in: Reduce height of Load PDF dialog 2025-01-25 17:27:55 +00:00
file-pix.c app, libgimp*, pdb, plug-ins: review and enhance MR !1549. 2024-08-18 22:46:47 +02:00
file-png.c libgimp, plug-ins: rename the various "save-*" metadata arguments… 2025-01-20 17:58:30 +01:00
file-pnm.c plug-ins: Add support for importing CMYK PAM files 2024-12-10 01:27:17 +00:00
file-ps.c plug-ins: Fix CRITICALs and GUI issues in file-ps 2025-09-17 17:17:05 +02:00
file-psp.c plug-ins, psp: fix #14182 Invalid UTF-8 in PSP comment 2025-09-17 16:40:21 +02:00
file-qoi.c plug-ins: Mark FF, AVIF, LNK, QOI and ICNS names as per-process translatable 2025-09-17 16:40:18 +02:00
file-raw-data.c plug-ins: Reduce Raw Data load dialogue height 2025-09-17 16:40:24 +02:00
file-sunras.c plug-ins: get rid of all remaining usage of gimp_image_[gs]et_colormap(). 2024-09-23 18:20:14 +02:00
file-svg.c libgimp, plug-ins: implement loading SVG breaking aspect ratio. 2025-09-17 17:17:05 +02:00
file-tga.c plug-ins: get rid of all remaining usage of gimp_image_[gs]et_colormap(). 2024-09-23 18:20:14 +02:00
file-wbmp.c plug-ins: fix ZDI-CAN-27878 2025-09-17 17:50:25 +02:00
file-wmf.c plug-ins: removing a string because of an obvious typo. 2024-08-24 20:29:52 +02:00
file-xbm.c libgimp, plug-ins: rename the various "save-*" metadata arguments… 2025-01-20 17:58:30 +01:00
file-xmc.c app, libgimp*, pdb, plug-ins: review and enhance MR !1549. 2024-08-18 22:46:47 +02:00
file-xpm.c plug-ins: get rid of all remaining usage of gimp_image_[gs]et_colormap(). 2024-09-23 18:20:14 +02:00
file-xwd.c plug-ins: fix ZDI-CAN-27823 2025-09-17 17:50:25 +02:00
film.c extensions, libgimp, plug-ins: remove n_drawables arg from GimpImageProcedure's… 2024-10-28 22:08:45 +01:00
gradient-map.c app, libgimp, pdb, plug-ins: gimp_gradient_get_uniform_samples() returns an array of GeglColor. 2024-11-03 13:35:16 +01:00
grid.c plug-ins: Prevent infinite signal loop in legacy grid 2025-05-06 17:57:55 +00:00
guillotine.c extensions, libgimp, plug-ins: remove n_drawables arg from GimpImageProcedure's… 2024-10-28 22:08:45 +01:00
hot.c extensions, libgimp, plug-ins: remove n_drawables arg from GimpImageProcedure's… 2024-10-28 22:08:45 +01:00
jigsaw.c plug-ins: Let Jigsaw draw on transparent layers 2025-08-09 18:11:12 +02:00
mail.c extensions, libgimp, plug-ins: remove n_drawables arg from GimpImageProcedure's… 2024-10-28 22:08:45 +01:00
meson.build Declare gexiv2 dependency on many targets (due to gimpmetadata.h) 2025-10-03 18:42:25 -03:00
nl-filter.c extensions, libgimp, plug-ins: remove n_drawables arg from GimpImageProcedure's… 2024-10-28 22:08:45 +01:00
plugin-browser.c plug-ins: fix calling gimp-plug-ins-query. 2024-10-25 23:28:42 +02:00
procedure-browser.c plug-ins: Port argument macros to functions 2024-06-13 23:17:48 +00:00
qbist.c extensions, libgimp, plug-ins: remove n_drawables arg from GimpImageProcedure's… 2024-10-28 22:08:45 +01:00
sample-colorize.c Fix spelling errors found with codespell 2025-01-04 15:11:03 +00:00
smooth-palette.c plug-ins: Fix color format for Smooth Palette... 2024-11-14 11:33:14 +00:00
sparkle.c extensions, libgimp, plug-ins: remove n_drawables arg from GimpImageProcedure's… 2024-10-28 22:08:45 +01:00
sphere-designer.c plugins: Remove unused struct 'camera_t' on sphere-designer 2025-10-14 16:47:50 -03:00
tile-small.c plug-ins: Fix display lag in Small Tiles 2025-09-21 16:33:08 +00:00
tile.c extensions, libgimp, plug-ins: remove n_drawables arg from GimpImageProcedure's… 2024-10-28 22:08:45 +01:00
unit-editor.c app, libgimpwidgets, plug-ins: add tooltip arg to gimp_help_connect(). 2024-08-24 23:29:39 +02:00
van-gogh-lic.c extensions, libgimp, plug-ins: remove n_drawables arg from GimpImageProcedure's… 2024-10-28 22:08:45 +01:00
warp.c extensions, libgimp, plug-ins: remove n_drawables arg from GimpImageProcedure's… 2024-10-28 22:08:45 +01:00
wavelet-decompose.c extensions, libgimp, plug-ins: remove n_drawables arg from GimpImageProcedure's… 2024-10-28 22:08:45 +01:00
web-browser.c plug-ins: Port argument macros to functions 2024-06-13 23:17:48 +00:00
web-page.c plug-ins: Port argument macros to functions 2024-06-13 23:17:48 +00:00