Gimp/app/file-data
Jehan 6905b0bbef Issue #5313: consistent "file-pat-save-internal" procedure with…
… multiple drawables as parameter.

Previous commit 7bb892f3 was "making it work" by making the API
inconsistent and also only using the first drawable, which is making the
logics meaningless.

Instead accept multiple drawables, and export only the selected drawable
(when alone) or the merged-down image containing only the selected
drawables (when many).

Note that in current implementation, this is not useful from GUI calls
because the fully merged image is always exported when run interactively
or with last vals (i.e. from the GUI) because gimp_export_image()
flattens the image. So this change would only work when called
non-interactively from other plug-ins. In such a case, multi-layer
images do no longer return an error and whatever items are selected
would change the export result.

See also #7370 for a discussion about how to handle the selected items
during export (because currently the `drawables` parameter of
GimpSaveProcedure's run function is clearly a mostly bogus parameter).
2021-10-15 00:32:10 +02:00
..
.gitignore
file-data-gbr.c Issue 4456: CRITICAL **...: g_object_unref: assertion 2020-01-05 12:36:01 +01:00
file-data-gbr.h app: factor file_gbr_drawable_to_brush() out of file_gbr_image_to_brush() 2019-03-03 19:44:02 +01:00
file-data-gex.c App file-data-gex.c fix incompatible pointer type 2020-03-22 20:06:10 +00:00
file-data-gex.h app: new "gex" format (GIMP Extension). 2019-04-12 18:49:18 +02:00
file-data-gih.c app: free a GimpPixPipeParams value (reported by Massimo). 2021-08-16 19:15:48 +02:00
file-data-gih.h app, plug-ins: move file-gih-load from the file-gih plug-in to the core 2019-02-19 23:41:34 +01:00
file-data-pat.c Issue #5313: consistent "file-pat-save-internal" procedure with… 2021-10-15 00:32:10 +02:00
file-data-pat.h
file-data.c Issue #5313: consistent "file-pat-save-internal" procedure with… 2021-10-15 00:32:10 +02:00
file-data.h
Makefile.am app: new "gex" format (GIMP Extension). 2019-04-12 18:49:18 +02:00
meson.build Meson port. 2019-09-11 16:42:04 +02:00