See also: Main Index; Alphabetic; Misc; By Author; By Module; By Menu    External Links: The Gimp; Gimp User Manual

The Gimp file functions

file_GTM_save GIMP Table Magic
file_bmp_load Loads files of Windows BMP file format
file_bmp_save Saves files in Windows BMP file format
file_cel_load Loads files in KISS CEL file format
file_cel_save Saves files in KISS CEL file format
file_csource_save Dump image data in RGB(A) format for C source
file_faxg3_load loads g3 fax files
file_fits_load load file of the FITS file format
file_fits_save save file in the FITS file format
file_fli_info Get info about a Fli movie
file_fli_load load FLI-movies
file_fli_save save FLI-movies
file_gbr_load Loads GIMP brushes (1 or 4 bpp and old .gpb format)
file_gbr_save saves files in the .gbr file format
file_gif_load loads files of Compuserve GIF file format
file_gif_save saves files in Compuserve GIF file format
file_gz_load loads files compressed with gzip
file_gz_save saves files compressed with gzip
file_header_save saves files as C unsigned character array
file_hrz_load loads files of the hrz file format
file_hrz_save saves files in the hrz file format
file_ico_load Loads files of Windows ICO file format
file_ico_save Saves files in Windows ICO file format
file_jpeg_load loads files in the JPEG file format
file_jpeg_save saves files in the JPEG file format
file_page_setup This plug-in sets up the page for printing from the GIMP.
file_pat_load Loads Gimp's .PAT pattern files
file_pat_save Saves Gimp pattern file (.PAT)
file_pcx_load Loads files in Zsoft PCX file format
file_pcx_save Saves files in ZSoft PCX file format
file_pix_load loads files of the PIX file format
file_pix_save save file in the Alias|Wavefront pix/matte file format
file_png_load Loads files in PNG file format
file_png_save Saves files in PNG file format
file_pnm_load loads files of the pnm file format
file_pnm_save saves files in the pnm file format
file_print This plug-in prints images from the GIMP.
file_ps_load load file of PostScript/PDF file format
file_ps_load_setargs set additional parameters for procedure file_ps_load
file_ps_save save file in PostScript file format
file_psd_load loads files of the Photoshop(tm) PSD file format
file_sgi_load Loads files in SGI image file format
file_sgi_save Saves files in SGI image file format
file_sunras_load load file of the SunRaster file format
file_sunras_save save file in the SunRaster file format
file_tga_load Loads files of Targa file format
file_tga_save saves files in the Targa file format
file_tiff_load loads files of the tiff file format
file_tiff_save saves files in the tiff file format
file_wmf_load loads files of the Windows(tm) metafile file format
file_wmf_load_setargs set additional parameters for the procedure file_wmf_load
file_xbm_load Load a file in X10 or X11 bitmap (XBM) file format
file_xbm_save Save a file in X10 or X11 bitmap (XBM) file format
file_xwd_load load file of the XWD file format
file_xwd_save saves files in the XWD file format
gimp_file_load Loads a file by extension.
gimp_file_load_thumbnail Loads the thumbnail for a file.
gimp_file_save Saves a file by extension.
gimp_file_save_thumbnail Saves a thumbnail for the given image
gimp_image_get_filename Returns the specified image's filename.
gimp_image_set_filename Sets the specified image's filename.

file_GTM_save

Input:
INT32run_modeInteractive
IMAGEimageInput image
DRAWABLEdrawableDrawable to save
STRINGfilenameThe name of the file to save the image in
STRINGraw_filenameThe name of the file to save the image in
Returns: nothing
Allows you to draw an HTML table in GIMP. See help for more info.
Daniel Dunbar; 1998

file_bmp_load

Input:
INT32run_modeInteractive, non-interactive
STRINGfilenameThe name of the file to load
STRINGraw_filenameThe name entered
Returns:
IMAGEimageOutput image
Loads files of Windows BMP file format
Alexander Schulz; 1997

file_bmp_save

Input:
INT32run_modeInteractive, non-interactive
IMAGEimageInput image
DRAWABLEdrawableDrawable to save
STRINGfilenameThe name of the file to save the image in
STRINGraw_filenameThe name entered
Returns: nothing
Saves files in Windows BMP file format
Alexander Schulz; 1997

file_cel_load

Input:
INT32run_modeInteractive, non-interactive
STRINGfilenameFilename to load image from
STRINGraw_filenameName entered
STRINGpalette_filenameFilename to load palette from
Returns:
IMAGEimageOutput image
This plug-in loads individual KISS cell files.
Nick Lamb <njl195@zepler.org.uk>; May 1998

file_cel_save

Input:
INT32run_modeInteractive, non-interactive
IMAGEimageInput image
DRAWABLEdrawableDrawable to save
STRINGfilenameFilename to save image to
STRINGraw_filenameName entered
STRINGpalette_filenameFilename to save palette to
Returns: nothing
This plug-in saves individual KISS cell files.
Nick Lamb <njl195@zepler.org.uk>; May 1998

file_csource_save

Input:
INT32run_modeInteractive
IMAGEimageInput image
DRAWABLEdrawableDrawable to save
STRINGfilenameThe name of the file to save the image in
STRINGraw_filenameThe name of the file to save the image in
Returns: nothing
CSource cannot be run non-interactively.
Tim Janik; 1999

file_faxg3_load

Input:
INT32run_modeInteractive, non-interactive
STRINGfilenameThe name of the file to load
STRINGraw_filenameThe name of the file to load
Returns:
IMAGEimageOutput image
This plug-in loads Fax G3 Image files.
Jochen Friedrich, Gert Doering, Spencer Kimball & Peter Mattis; 0.6

file_fits_load

Input:
INT32run_modeInteractive, non-interactive
STRINGfilenameThe name of the file to load
STRINGraw_filenameThe name of the file to load
Returns:
IMAGEimageOutput image
load file of the FITS file format (Flexible Image Transport System)
Peter Kirchgessner (peter@kirchgessner.net); 1997

file_fits_save

Input:
INT32run_modeInteractive, non-interactive
IMAGEimageInput image
DRAWABLEdrawableDrawable to save
STRINGfilenameThe name of the file to save the image in
STRINGraw_filenameThe name of the file to save the image in
Returns: nothing
FITS saving handles all image types except those with alpha channels.
Peter Kirchgessner (peter@kirchgessner.net); 1997

file_fli_info

Input:
STRINGfilenameThe name of the file to get info
Returns:
INT32widthWidth of one frame
INT32heightHeight of one frame
INT32framesNumber of Frames
This is a experimantal plug-in to handle FLI movies
Jens Ch. Restemeier; 1997

file_fli_load

Input:
INT32run_modeInteractive, non-interactive
STRINGfilenameThe name of the file to load
STRINGraw_filenameThe name entered
Returns:
IMAGEimageOutput image
This is an experimantal plug-in to handle FLI movies
Jens Ch. Restemeier; 1997

file_fli_save

Input:
INT32run_modeInteractive, non-interactive
IMAGEimageInput image
DRAWABLEdrawableInput drawable (unused)
STRINGfilenameThe name of the file to save
STRINGraw_filenameThe name entered
INT32from_frameSave beginning from this frame
INT32to_frameEnd saving with this frame
Returns: nothing
This is an experimantal plug-in to handle FLI movies
Jens Ch. Restemeier; 1997

file_gbr_load

Input:
INT32run_modeInteractive, non-interactive
STRINGfilenameThe name of the file to load
STRINGraw_filenameThe name of the file to load
Returns:
IMAGEimageOutput image
FIXME: write help
Tim Newsome, Jens Lautenbacher, Sven Neumann; 1997-2000

file_gbr_save

Input:
INT32run_modeInteractive, non-interactive
IMAGEimageInput image
DRAWABLEdrawableDrawable to save
STRINGfilenameThe name of the file to save the image in
STRINGraw_filenameThe name of the file to save the image in
INT32spacingSpacing of the brush
STRINGdescriptionShort description of the brush
Returns: nothing
Yeah!
Tim Newsome, Jens Lautenbacher, Sven Neumann; 1997-2000

file_gif_load

Input:
INT32run_modeInteractive, non-interactive
STRINGfilenameThe name of the file to load
STRINGraw_filenameThe name entered
Returns:
IMAGEimageOutput image
FIXME: write help for gif_load
Spencer Kimball, Peter Mattis, Adam Moss, David Koblas; 1995-1997

file_gif_save

Input:
INT32run_modeInteractive, non-interactive
IMAGEimageImage to save
DRAWABLEdrawableDrawable to save
STRINGfilenameThe name of the file to save the image in
STRINGraw_filenameThe name entered
INT32interlaceTry to save as interlaced
INT32loop(animated gif) loop infinitely
INT32default_delay(animated gif) Default delay between framese in milliseconds
INT32default_dispose(animated gif) Default disposal type (0=`don't care`, 1=combine, 2=replace)
Returns: nothing
Save a file in Compuserve GIF format, with possible animation, transparency, and comment. To save an animation, operate on a multi-layer file. The plug-in will intrepret <50% alpha as transparent. When run non-interactively, the value for the comment is taken from the 'gimp-comment' parasite.
Spencer Kimball, Peter Mattis, Adam Moss, David Koblas; 1995-1997

file_gz_load

Input:
INT32run_modeInteractive, non-interactive
STRINGfilenameThe name of the file to load
STRINGraw_filenameThe name entered
Returns:
IMAGEimageOutput image
You need to have gzip installed.
Daniel Risacher, Spencer Kimball and Peter Mattis; 1995-1997

file_gz_save

Input:
INT32run_modeInteractive, non-interactive
IMAGEimageInput image
DRAWABLEdrawableDrawable to save
STRINGfilenameThe name of the file to save the image in
STRINGraw_filenameThe name of the file to save the image in
Returns: nothing
You need to have gzip installed.
Daniel Risacher, Spencer Kimball and Peter Mattis; 1995-1997

file_header_save

Input:
INT32run_modeInteractive, non-interactive
IMAGEimageInput image
DRAWABLEdrawableDrawable to save
STRINGfilenameThe name of the file to save the image in
STRINGraw_filenameThe name of the file to save the image in
Returns: nothing
FIXME: write help
Spencer Kimball & Peter Mattis; 1997

file_hrz_load

Input:
INT32run_modeInteractive, non-interactive
STRINGfilenameThe name of the file to load
STRINGraw_filenameThe name of the file to load
Returns:
IMAGEimageOutput image
FIXME: write help for hrz_load
Albert Cahalan; 1997

file_hrz_save

Input:
INT32run_modeInteractive, non-interactive
IMAGEimageInput image
DRAWABLEdrawableDrawable to save
STRINGfilenameThe name of the file to save the image in
STRINGraw_filenameThe name of the file to save the image in
Returns: nothing
HRZ saving handles all image types except those with alpha channels.
Albert Cahalan; 1997

file_ico_load

Input:
INT32run_modeInteractive, non-interactive
STRINGfilenameThe name of the file to load
STRINGraw_filenameThe name entered
Returns:
IMAGEimageOutput image
Loads files of Windows ICO file format
Christian Kreibich <christian@whoop.org>; 2002

file_ico_save

Input:
INT32run_modeInteractive, non-interactive
IMAGEimageInput image
DRAWABLEdrawableDrawable to save
STRINGfilenameThe name of the file to save the image in
STRINGraw_filenameThe name entered
Returns: nothing
Saves files in Windows ICO file format
Christian Kreibich <christian@whoop.org>; 2002

file_jpeg_load

Input:
INT32run_modeInteractive, non-interactive
STRINGfilenameThe name of the file to load
STRINGraw_filenameThe name of the file to load
Returns:
IMAGEimageOutput image
loads files in the JPEG file format
Spencer Kimball & Peter Mattis; 1995-1999

file_jpeg_save

Input:
INT32run_modeInteractive, non-interactive
IMAGEimageInput image
DRAWABLEdrawableDrawable to save
STRINGfilenameThe name of the file to save the image in
STRINGraw_filenameThe name of the file to save the image in
FLOATqualityQuality of saved image (0 <= quality <= 1)
FLOATsmoothingSmoothing factor for saved image (0 <= smoothing <= 1)
INT32optimizeOptimization of entropy encoding parameters (0/1)
INT32progressiveEnable progressive jpeg image loading - ignored if not compiled with HAVE_PROGRESSIVE_JPEG (0/1)
STRINGcommentImage comment
INT32subsmpThe subsampling option number
INT32baselineForce creation of a baseline JPEG (non-baseline JPEGs can't be read by all decoders) (0/1)
INT32restartFrequency of restart markers (in rows, 0 = no restart markers)
INT32dctDCT algorithm to use (speed/quality tradeoff)
Returns: nothing
saves files in the lossy, widely supported JPEG format
Spencer Kimball & Peter Mattis; 1995-1999

file_page_setup

Input:
INT32run_modeInteractive, non-interactive
IMAGEimageInput image
DRAWABLEdrawableInput drawable
Returns: nothing
Sets up the page parameters for printing to any Windows printer.
Copyright 1999 Tor Lillqvist; $Id: winprint.c,v 1.7 2000/08/24 17:53:31 tml Exp $

file_pat_load

Input:
INT32run_modeInteractive, non-interactive
STRINGfilenameThe name of the file to load
STRINGraw_filenameThe name of the file to load
Returns:
IMAGEimageOutput image
The images in the pattern dialog can be loaded directly with this plug-in
Tim Newsome; 1997

file_pat_save

Input:
INT32run_modeInteractive, non-interactive
IMAGEimageInput image
DRAWABLEdrawableDrawable to save
STRINGfilenameThe name of the file to save the image in
STRINGraw_filenameThe name of the file to save the image in
STRINGdescriptionShort description of the pattern
Returns: nothing
New Gimp patterns can be created by saving them in the appropriate place with this plug-in.
Tim Newsome; 1997

file_pcx_load

Input:
INT32run_modeInteractive, non-interactive
STRINGfilenameThe name of the file to load
STRINGraw_filenameThe name entered
Returns:
IMAGEimageOutput image
FIXME: write help for pcx_load
Nick Lamb <njl195@zepler.org.uk>; January 1997

file_pcx_save

Input:
INT32run_modeInteractive, non-interactive
IMAGEimageInput image
DRAWABLEdrawableDrawable to save
STRINGfilenameThe name of the file to save the image in
STRINGraw_filenameThe name entered
Returns: nothing
FIXME: write help for pcx_save
Nick Lamb <njl195@zepler.org.uk>; January 1997

file_pix_load

Input:
INT32run_modeInteractive, non-interactive
STRINGfilenameThe name of the file to load
STRINGraw_filenameThe name entered
Returns:
IMAGEimageOutput image
loads files of the PIX file format
Michael Taylor; 1997

file_pix_save

Input:
INT32run_modeInteractive, non-interactive
IMAGEimageInput image
DRAWABLEdrawableDrawable to save
STRINGfilenameThe name of the file to save the image in
STRINGraw_filenameThe name of the file to save the image in
Returns: nothing
save file in the Alias|Wavefront pix/matte file format
Michael Taylor; 1997

file_png_load

Input:
INT32run_modeInteractive, non-interactive
STRINGfilenameThe name of the file to load
STRINGraw_filenameThe name of the file to load
Returns:
IMAGEimageOutput image
This plug-in loads Portable Network Graphics (PNG) files.
Michael Sweet <mike@easysw.com>, Daniel Skarda <0rfelyus@atrey.karlin.mff.cuni.cz>, Nick Lamb <njl195@zepler.org.uk>; 1.3.3 - 30 June 2000

file_png_save

Input:
INT32run_modeInteractive, non-interactive
IMAGEimageInput image
DRAWABLEdrawableDrawable to save
STRINGfilenameThe name of the file to save the image in
STRINGraw_filenameThe name of the file to save the image in
INT32interlaceUse Adam7 interlacing?
INT32compressionDeflate Compression factor (0--9)
INT32bkgdWrite bKGD chunk?
INT32gamaWrite gAMA chunk?
INT32offsWrite oFFs chunk?
INT32physWrite tIME chunk?
INT32timeWrite pHYs chunk?
Returns: nothing
This plug-in saves Portable Network Graphics (PNG) files.
Michael Sweet <mike@easysw.com>, Daniel Skarda <0rfelyus@atrey.karlin.mff.cuni.cz>, Nick Lamb <njl195@zepler.org.uk>; 1.3.3 - 30 June 2000

file_pnm_load

Input:
INT32run_modeInteractive, non-interactive
STRINGfilenameThe name of the file to load
STRINGraw_filenameThe name of the file to load
Returns:
IMAGEimageOutput image
FIXME: write help for pnm_load
Erik Nygren; 1996

file_pnm_save

Input:
INT32run_modeInteractive, non-interactive
IMAGEimageInput image
DRAWABLEdrawableDrawable to save
STRINGfilenameThe name of the file to save the image in
STRINGraw_filenameThe name of the file to save the image in
INT32rawSpecify non-zero for raw output, zero for ascii output
Returns: nothing
PNM saving handles all image types except those with alpha channels.
Erik Nygren; 1996

file_print

Input:
INT32run_modeInteractive, non-interactive
IMAGEimageInput image
DRAWABLEdrawableInput drawable
STRINGprinterPrinter
STRINGppd_filePPD file
INT32output_typeOutput type (0 = gray, 1 = color)
STRINGresolutionResolution ("300", "720", etc.)
STRINGmedia_sizeMedia size ("Letter", "A4", etc.)
STRINGmedia_typeMedia type ("Plain", "Glossy", etc.)
STRINGmedia_sourceMedia source ("Tray1", "Manual", etc.)
INT32brightnessBrightness (0-200%)
FLOATscalingOutput scaling (0-100%, -PPI)
INT32orientationOutput orientation (-1 = auto, 0 = portrait, 1 = landscape)
INT32leftLeft offset (points, -1 = centered)
INT32topTop offset (points, -1 = centered)
Returns: nothing
Prints images to any printer recognized by Windows.
Copyright 1999 Tor Lillqvist; $Id: winprint.c,v 1.7 2000/08/24 17:53:31 tml Exp $

file_ps_load

Input:
INT32run_modeInteractive, non-interactive
STRINGfilenameThe name of the file to load
STRINGraw_filenameThe name of the file to load
Returns:
IMAGEimageOutput image
load file of PostScript/PDF file format
Peter Kirchgessner; v1.14 14-May-2002

file_ps_load_setargs

Input:
INT32resolutionResolution to interprete image (dpi)
INT32widthDesired width
INT32heightDesired height
INT32check_bbox0: Use width/height, 1: Use BoundingBox
STRINGpagesPages to load (e.g.: 1,3,5-7)
INT32coloring4: b/w, 5: grey, 6: colour image, 7: automatic
INT32TextAlphaBits1, 2, or 4
INT32GraphicsAlphaBits1, 2, or 4
Returns: nothing
set additional parameters for procedure file_ps_load
Peter Kirchgessner; v1.14 14-May-2002

file_ps_save

Input:
INT32run_modeInteractive, non-interactive
IMAGEimageInput image
DRAWABLEdrawableDrawable to save
STRINGfilenameThe name of the file to save the image in
STRINGraw_filenameThe name of the file to save the image in
FLOATwidthWidth of the image in PostScript file (0: use input image size)
FLOATheightHeight of image in PostScript file (0: use input image size)
FLOATx_offsetX-offset to image from lower left corner
FLOATy_offsetY-offset to image from lower left corner
INT32unitUnit for width/height/offset. 0: inches, 1: millimeters
INT32keep_ratio0: use width/height, 1: keep aspect ratio
INT32rotation0, 90, 180, 270
INT32eps_flag0: PostScript, 1: Encapsulated PostScript
INT32preview0: no preview, >0: max. size of preview
INT32level1: PostScript Level 1, 2: PostScript Level 2
Returns: nothing
PostScript saving handles all image types except those with alpha channels.
Peter Kirchgessner; v1.14 14-May-2002

file_psd_load

Input:
INT32run_modeInteractive, non-interactive
STRINGfilenameThe name of the file to load
STRINGraw_filenameThe name of the file to load
Returns:
IMAGEimageOutput image
This filter loads files of Adobe Photoshop(tm) native PSD format. These files may be of any image type supported by GIMP, with or without layers, layer masks, aux channels and guides.
Adam D. Moss & Torsten Martinsen; 1996-1998

file_sgi_load

Input:
INT32run_modeInteractive, non-interactive
STRINGfilenameThe name of the file to load
STRINGraw_filenameThe name of the file to load
Returns:
IMAGEimageOutput image
This plug-in loads SGI image files.
Copyright 1997-1998 by Michael Sweet; 1.1.1 - 17 May 1998

file_sgi_save

Input:
INT32run_modeInteractive, non-interactive
IMAGEimageInput image
DRAWABLEdrawableDrawable to save
STRINGfilenameThe name of the file to save the image in
STRINGraw_filenameThe name of the file to save the image in
INT32compressionCompression level (0 = none, 1 = RLE, 2 = ARLE)
Returns: nothing
This plug-in saves SGI image files.
Copyright 1997-1998 by Michael Sweet; 1.1.1 - 17 May 1998

file_sunras_load

Input:
INT32run_modeInteractive, non-interactive
STRINGfilenameThe name of the file to load
STRINGraw_filenameThe name of the file to load
Returns:
IMAGEimageOutput image
load file of the SunRaster file format
Peter Kirchgessner; 1996

file_sunras_save

Input:
INT32run_modeInteractive, non-interactive
IMAGEimageInput image
DRAWABLEdrawableDrawable to save
STRINGfilenameThe name of the file to save the image in
STRINGraw_filenameThe name of the file to save the image in
INT32rleSpecify non-zero for rle output, zero for standard output
Returns: nothing
SUNRAS saving handles all image types except those with alpha channels.
Peter Kirchgessner; 1996

file_tga_load

Input:
INT32run_modeInteractive, non-interactive
STRINGfilenameThe name of the file to load
STRINGraw_filenameThe name entered
Returns:
IMAGEimageOutput image
FIXME: write help for tga_load
Raphael FRANCOIS, Gordon Matzigkeit; 1997

file_tga_save

Input:
INT32run_modeInteractive, non-interactive
IMAGEimageInput image
DRAWABLEdrawableDrawable to save
STRINGfilenameThe name of the file to save the image in
STRINGraw_filenameThe name of the file to save the image in
INT32rleUse RLE compression
INT32originImage origin (0 = top-left, 1 = bottom-left)
Returns: nothing
FIXME: write help for tga_save
Raphael FRANCOIS, Gordon Matzigkeit; 1997

file_tiff_load

Input:
INT32run_modeInteractive, non-interactive
STRINGfilenameThe name of the file to load
STRINGraw_filenameThe name of the file to load
Returns:
IMAGEimageOutput image
FIXME: write help for tiff_load
Nick Lamb <njl195@zepler.org.uk>; 1995-1996,1998-2000

file_tiff_save

Input:
INT32run_modeInteractive, non-interactive
IMAGEimageInput image
DRAWABLEdrawableDrawable to save
STRINGfilenameThe name of the file to save the image in
STRINGraw_filenameThe name of the file to save the image in
INT32compressionCompression type: { NONE (0), LZW (1), PACKBITS (2), DEFLATE (3), JPEG (4)
Returns: nothing
Saves files in the Tagged Image File Format. The value for the saved comment is taken from the 'gimp-comment' parasite.
Spencer Kimball & Peter Mattis; 1995-1996,2000

file_wmf_load

Input:
INT32run_modeInteractive, non-interactive
STRINGfilenameThe name of the file to load
STRINGraw_filenameThe name entered
Returns:
IMAGEimageOutput image
FIXME: write help for file_wmf_load
Tor Lillqvist; 1998

file_wmf_load_setargs

Input:
FLOATscaleScale in which to load image
Returns: nothing
set additional parameters for the procedure file_wmf_load
Tor Lillqvist; 1998

file_xbm_load

Input:
INT32run_modeInteractive, non-interactive
STRINGfilenameThe name of the file to load
STRINGraw_filenameThe name entered
Returns:
IMAGEimageOutput image
Load a file in X10 or X11 bitmap (XBM) file format. XBM is a lossless format for flat black-and-white (two color indexed) images.
Gordon Matzigkeit; 1998

file_xbm_save

Input:
INT32run_modeInteractive, non-interactive
IMAGEimageInput image
DRAWABLEdrawableDrawable to save
STRINGfilenameThe name of the file to save
STRINGraw_filenameThe name entered
STRINGcommentImage description (maximum 72 bytes)
INT32x10Save in X10 format
INT32x_hotX coordinate of hotspot
INT32y_hotY coordinate of hotspot
STRINGprefixIdentifier prefix [determined from filename]
INT32write_mask(0 = ignore, 1 = save as extra file)
STRINGmask_extensionExtension of the mask file
Returns: nothing
Save a file in X10 or X11 bitmap (XBM) file format. XBM is a lossless format for flat black-and-white (two color indexed) images.
Gordon Matzigkeit; 1998

file_xwd_load

Input:
INT32run_modeInteractive, non-interactive
STRINGfilenameThe name of the file to load
STRINGraw_filenameThe name of the file to load
Returns:
IMAGEimageOutput image
load file of the XWD file format
Peter Kirchgessner; 1996

file_xwd_save

Input:
INT32run_modeInteractive, non-interactive
IMAGEimageInput image
DRAWABLEdrawableDrawable to save
STRINGfilenameThe name of the file to save the image in
STRINGraw_filenameThe name of the file to save the image in
Returns: nothing
XWD saving handles all image types except those with alpha channels.
Peter Kirchgessner; 1996

gimp_file_load

Input:
INT32run_modeThe run mode: RUN_INTERACTIVE (0) or RUN_NONINTERACTIVE (1)
STRINGfilenameThe name of the file to load
STRINGraw_filenameThe name entered
Returns:
IMAGEimageThe output image
This procedure invokes the correct file load handler according to the file's extension and/or prefix. The name of the file to load is typically a full pathname, and the name entered is what the user actually typed before prepending a directory path. The reason for this is that if the user types http://www.xcf/~gimp/ he wants to fetch a URL, and the full pathname will not look like a URL.
Josh MacDonald; 1997

gimp_file_load_thumbnail

Input:
STRINGfilenameThe name of the file that owns the thumbnail to load
Returns:
INT32widthThe width of the thumbnail
INT32heightThe height of the thumbnail
INT32thumbnail_data_countThe number of bytes in thumbnail data
INT8ARRAYthumb_dataThe thumbnail data
This procedure tries to load a thumbnail that belongs to the file with the given filename. This name is a full pathname. The returned data is an array of colordepth 3 (RGB), regardless of the image type. Width and height of the thumbnail are also returned. Don't use this function if you need a thumbnail of an already opened image, use gimp_image_thumbnail instead.
Adam D. Moss, Sven Neumann; 1999-2000

gimp_file_save

Input:
INT32run_modeThe run mode: RUN_INTERACTIVE (0) or RUN_NONINTERACTIVE (1)
IMAGEimageInput image
DRAWABLEdrawableDrawable to save
STRINGfilenameThe name of the file to save the image in
STRINGraw_filenameThe name of the file to save the image in
Returns: nothing
This procedure invokes the correct file save handler according to the file's extension and/or prefix. The name of the file to save is typically a full pathname, and the name entered is what the user actually typed before prepending a directory path. The reason for this is that if the user types http://www.xcf/~gimp/ she wants to fetch a URL, and the full pathname will not look like a URL.
Josh MacDonald; 1997

gimp_file_save_thumbnail

Input:
IMAGEimageThe image
STRINGfilenameThe name of the file the thumbnail belongs to
Returns: nothing
This procedure saves a thumbnail in the .xvpics format for the given image. The thumbnail is saved so that it belongs to the file with the given filename. This means you have to save the image under this name first, otherwise this procedure will fail. This procedure may become useful if you want to explicitely save a thumbnail with a file.
Josh MacDonald; 1997


The Gimp 1.2.5 (win32)Documentation fresh from PDB12:10:16 Do 19.06.03
Generated by pdb2doc.py written by Hans Breuer <Hans(at)Breuer.org>