plug_in_gap_first << INDEX >> plug_in_gap_goto

plug_in_gap_get_animinfo (1.1.29b; 2000/11/30)

NAME
plug_in_gap_get_animinfo - This plugin gets animation infos about AnimFrames.
SYNOPSIS
(first_frame_nr,last_frame_nr,curr_frame_nr,frame_cnt,basename,extension,framerate) = plug_in_gap_get_animinfo (run_mode,image,drawable)
DESCRIPTION
Informations about the AnimFrames belonging to the passed image_id are returned. (therefore the directory is scanned and checked for AnimFrame discfiles. If you call this plugin on images without a Name You will get just default values.
INPUT ARGUMENTS
TYPENAMEDESCRIPTION
INT32run_modeInteractive, non-interactive
IMAGEimageInput image (current one of the Anim Frames)
DRAWABLEdrawableInput drawable (unused)
RETURN VALUES
TYPENAMEDESCRIPTION
INT32first_frame_nrlowest frame number of all AnimFrame discfiles
INT32last_frame_nrhighest frame number of all AnimFrame discfiles
INT32curr_frame_nrcurrent frame number (extracted from the imagename)
INT32frame_cnttotal number of all AnimFrame discfiles that belong to the passed image
STRINGbasenamebasename of the AnimFrame (without frame number and extension) may also include path (depending how the current frame image was opened)
STRINGextensionextension of the AnimFrames (.xcf)
FLOATframerateframerate in frames per second
SOME SYNTAX ALTERNATIVES
(first_frame_nr,last_frame_nr,curr_frame_nr,frame_cnt,basename,extension,framerate) = $drawable->gap_get_animinfo
(first_frame_nr,last_frame_nr,curr_frame_nr,frame_cnt,basename,extension,framerate) = $image->gap_get_animinfo (drawable)
(first_frame_nr,last_frame_nr,curr_frame_nr,frame_cnt,basename,extension,framerate) = plug_in_gap_get_animinfo (drawable)
(first_frame_nr,last_frame_nr,curr_frame_nr,frame_cnt,basename,extension,framerate) = gap_get_animinfo Layer (drawable)
(first_frame_nr,last_frame_nr,curr_frame_nr,frame_cnt,basename,extension,framerate) = gap_get_animinfo Image (drawable)
(first_frame_nr,last_frame_nr,curr_frame_nr,frame_cnt,basename,extension,framerate) = gap_get_animinfo Plugin (drawable)
AUTHOR
Wolfgang Hofer (hof@gimp.org)
(c)1.1.29b; 2000/11/30 Wolfgang Hofer


This page was created by gimpdoc, written by Marc Lehmann <pcg@goof.com>