gimp/app/file
Jehan 39ea23ed52 app, libgimp, plug-ins: improve GimpVectorLoadProcedure workflow.
I'm moving the logic of choosing a correct default for width/height by adding an
"extract dimensions" callback in the procedure. The logic is that every vector
format out there should likely have metadata either for pixel dimensions or
physical dimensions, or at the very least for no-unit dimensions (ratio only).

Vector load procedures will have to implement only the extraction of such data
in a callback called by GIMP but not how to act upon them, so that we have a
common logic for all vector images.

I am implementing this callback first in the SVG plug-in, moving all the code
to extract dimensions (and improving it) in this callback.

Also I am deleting "file-svg-load-thumb" procedure. I could simply reimplement
it using the same code, but it looks to me like this is very useless for vector
formats to have a specific thumbnail procedure (unless it were to use very
specific metadata for faster result). This is vector data, just ask it directly
at the proper bounding box size.
2024-06-08 18:58:06 +02:00
..
file-import.c app, libgimp, plug-ins: move Orientation metadata handling into core. 2020-09-24 12:43:41 +02:00
file-import.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
file-open.c app, libgimp, plug-ins: improve GimpVectorLoadProcedure workflow. 2024-06-08 18:58:06 +02:00
file-open.h app, libgimp, plug-ins: improve GimpVectorLoadProcedure workflow. 2024-06-08 18:58:06 +02:00
file-remote.c app: don't use the deprecated GTimeVal in file-remote.c 2019-09-14 12:22:04 +02:00
file-remote.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
file-save.c plug-ins: Remove n_drawables parameter 2024-05-03 15:22:39 +00:00
file-save.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
file-utils.c core: minor memleak fixes 2021-05-23 20:57:44 +06:00
file-utils.h pdb, app, libgimp, plug-ins: replace most PDB filenames/URIs by GFile 2019-09-11 21:48:34 +02:00
gimp-file.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
meson.build Meson port. 2019-09-11 16:42:04 +02:00