Class
GimpLoadProcedure
Description [src]
class Gimp.LoadProcedure : Gimp.FileProcedure {
parent_instance: GimpFileProcedure
}
A GimpProcedure
subclass that makes it easier to write file load procedures.
It automatically adds the standard
( GimpRunMode
, GFile
)
arguments and the standard
( GimpImage
)
return value of a load procedure. It is possible to add additional arguments.
When invoked via gimp_procedure_run()
, it unpacks these standard
arguments and calls run_func
which is a GimpRunImageFunc
. The
“args” GimpValueArray
of GimpRunImageFunc
only contains
additionally added arguments.
Descendants
Constructors
gimp_load_procedure_new
Creates a new load procedure named name
which will call run_func
when invoked.
since: 3.0
Instance methods
gimp_load_procedure_get_handles_raw
Returns the procedure’s ‘handles raw’ flag as set with
gimp_load_procedure_set_handles_raw()
.
since: 3.0
gimp_load_procedure_get_thumbnail_loader
Returns the procedure’s thumbnail loader procedure as set with
gimp_load_procedure_set_thumbnail_loader()
.
since: 3.0
gimp_load_procedure_set_handles_raw
Registers a load procedure as capable of handling raw digital camera loads.
since: 3.0
gimp_load_procedure_set_thumbnail_loader
Associates a thumbnail loader with a file load procedure.
since: 3.0