Ignore:
Timestamp:
07/07/06 11:57:27 (18 years ago)
Author:
navarro
Message:

english and nicer header (1)

Location:
trunk/SRC/Picture
Files:
1 added
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Picture/saveimage.pro

    r132 r133  
    1 PRO SAVEIMAGE, FILE, BMP=BMP, PNG=PNG, PICT=PICT, JPEG=JPEG, TIFF=TIFF, $ 
    2   QUALITY=QUALITY, DITHER=DITHER, CUBE=CUBE, QUIET=QUIET, MULTIPLE = multiple 
    3 ; 
    4   compile_opt idl2, strictarrsubs 
    5 ; 
    6  
    71;+ 
    8 ; NAME: 
    9 ;    SAVEIMAGE 
    10 ; 
    11 ; PURPOSE: 
    12 ;    Save the current graphics window to an output file (GIF by default). 
     2; 
     3; @file_comments  
     4; Save the current graphics window to an output file (GIF by default). 
    135; 
    146;    The output formats supported are: 
     
    2315;    8-bit or 24-bit output files are done automatically. 
    2416; 
    25 ; CATEGORY: 
    26 ;    Input/Output. 
    27 ; 
    28 ; CALLING SEQUENCE: 
    29 ;    SAVEIMAGE, FILE 
    30 ; 
    31 ; INPUTS: 
    32 ;    FILE     Name of the output file (GIF format by default). 
    33 ; 
    34 ; OPTIONAL INPUTS: 
    35 ;    None. 
    36 ; 
    37 ; KEYWORD PARAMETERS: 
    38 ;    BMP      Set this keyword to create BMP format (8-bit with color table). 
    39 ;    PNG      Set this keyword to create PNG format (8-bit with color table). 
    40 ;    PICT     Set this keyword to create PICT format (8-bit with color table). 
    41 ;    JPEG     Set this keyword to create JPEG format (24-bit true color). 
    42 ;    TIFF     Set this keyword to create TIFF format (24-bit true color). 
    43 ;    QUALITY  If set to a named variable, specifies the quality for 
     17; @categories Input/Output. 
     18; 
     19; @param FILE {in}{required} Name of the output file (GIF format by default). 
     20; 
     21; @keyword BMP Set this keyword to create BMP format (8-bit with color table). 
     22; 
     23; @keyword PNG Set this keyword to create PNG format (8-bit with color table). 
     24; 
     25; @keyword PICT Set this keyword to create PICT format (8-bit with color table). 
     26; 
     27; @keyword JPEG Set this keyword to create JPEG format (24-bit true color). 
     28; 
     29; @keyword TIFF Set this keyword to create TIFF format (24-bit true color). 
     30; 
     31; @keyword QUALITY  If set to a named variable, specifies the quality for 
    4432;             JPEG output (default 75). Ranges from 0 ("terrible") to 
    4533;             100 ("excellent"). Smaller quality values yield higher 
    4634;             compression ratios and smaller output files. 
    47 ;    DITHER   If set, dither the output image when creating 8-bit output 
     35; 
     36;@keyword DITHER   If set, dither the output image when creating 8-bit output 
    4837;             which is read from a 24-bit display (default is no dithering). 
    49 ;    CUBE     If set, use the color cube method to quantize colors when 
     38; 
     39; @keyword CUBE     If set, use the color cube method to quantize colors when 
    5040;             creating 8-bit output which is read from a 24-bit display 
    5141;             (default is to use the statistical method). This may improve 
    5242;             the accuracy of colors in the output image, especially white. 
    53 ;   QUIET    Set this keyword to suppress the information message 
     43; @keyword QUIET    Set this keyword to suppress the information message 
    5444;             (default is to print an information message). 
    55 ;    MULTIPLE to write multiple gif image 
    56 ; 
    57 ; OUTPUTS: 
    58 ;    None. 
    59 ; 
    60 ; OPTIONAL OUTPUTS: 
    61 ;    None 
    62 ; 
    63 ; COMMON BLOCKS: 
    64 ;    None 
    65 ; 
    66 ; SIDE EFFECTS: 
    67 ;    The output file is overwritten if it exists. 
    68 ; 
    69 ; RESTRICTIONS: 
    70 ;    Requires IDL 5.0 or higher (square bracket array syntax). 
    71 ; 
    72 ; EXAMPLE: 
     45; @keyword MULTIPLE to write multiple gif image. 
     46; 
     47; @restrictions The output file is overwritten if it exists. 
     48; 
     49;  
     50; @restrictions requires IDL 5.0 or higher (square bracket array syntax). 
     51; 
     52; @examples 
    7353; 
    7454;openr, lun, filepath('hurric.dat', subdir='examples/data'), /get_lun 
     
    8060;saveimage, 'hurric.gif' 
    8161; 
    82 ; MODIFICATION HISTORY: 
    83 ; Liam.Gumley@ssec.wisc.edu 
     62; @history Liam.Gumley@ssec.wisc.edu 
    8463; http://cimss.ssec.wisc.edu/~gumley 
    85 ; $Id$ 
    86 ; 
    87 ; Copyright (C) 1999 Liam E. Gumley 
    8864; 
    8965; This program is free software; you can redistribute it and/or 
     
    10076; along with this program; if not, write to the Free Software 
    10177; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. 
     78; 
     79; @version $Id$ 
     80; 
    10281;- 
     82PRO SAVEIMAGE, FILE, BMP=BMP, PNG=PNG, PICT=PICT, JPEG=JPEG, TIFF=TIFF, $ 
     83  QUALITY=QUALITY, DITHER=DITHER, CUBE=CUBE, QUIET=QUIET, MULTIPLE = multiple 
     84; 
     85  compile_opt idl2, strictarrsubs 
     86; 
    10387 
    10488rcs_id = '$Id$' 
Note: See TracChangeset for help on using the changeset viewer.