app/plug-in/plug-in-proc-def.[ch] app/plug-in/plug-in-rc.c allow to

2004-11-13  Sven Neumann  <sven@gimp.org>

	* app/plug-in/plug-in-proc-def.[ch]
	* app/plug-in/plug-in-rc.c
	* app/plug-in/plug-ins.[ch]: allow to associate a procedure for
	thumbnail loading with any file load procedure.

	* tools/pdbgen/pdb/fileops.pdb: export this functionality to the
	PDB as gimp_register_thumbnail_loader().

	* app/pdb/fileops_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimpfileops_pdb.[ch]: regenerated.

	* app/core/gimpimagefile.c
	* app/file/file-open.[ch]: when creating a thumbnail for an image
	file, use a thumbnail load procedure if available.

	* plug-ins/common/svg.c: added "file_svg_load_thumb", a procedure
	that allows to load a small preview of the SVG image.
This commit is contained in:
Sven Neumann
2004-11-13 17:06:06 +00:00
committed by Sven Neumann
parent 4a0f6aa775
commit b62ca985aa
24 changed files with 612 additions and 122 deletions

View File

@ -367,6 +367,7 @@ gimp_register_magic_load_handler
gimp_register_load_handler
gimp_register_save_handler
gimp_register_file_handler_mime
gimp_register_thumbnail_loader
</SECTION>
<SECTION>

View File

@ -92,3 +92,13 @@ File operations (load, save, etc.)
@Returns:
<!-- ##### FUNCTION gimp_register_thumbnail_loader ##### -->
<para>
</para>
@load_proc:
@thumb_proc:
@Returns: