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.
105 lines
1.2 KiB
Plaintext
105 lines
1.2 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
gimpfileops
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
File operations (load, save, etc.)
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
File operations (load, save, etc.)
|
|
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### FUNCTION gimp_temp_name ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@extension:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_file_load ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@run_mode:
|
|
@filename:
|
|
@raw_filename:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_file_save ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@run_mode:
|
|
@image_ID:
|
|
@drawable_ID:
|
|
@filename:
|
|
@raw_filename:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_register_magic_load_handler ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@procedure_name:
|
|
@extensions:
|
|
@prefixes:
|
|
@magics:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_register_load_handler ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@procedure_name:
|
|
@extensions:
|
|
@prefixes:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_register_save_handler ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@procedure_name:
|
|
@extensions:
|
|
@prefixes:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_register_file_handler_mime ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@procedure_name:
|
|
@mime_type:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_register_thumbnail_loader ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@load_proc:
|
|
@thumb_proc:
|
|
@Returns:
|
|
|
|
|