<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4616.200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#c0c0c0>MS_PNG or MS_JPEG
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>int saveImage(string filename, int type, int transparent, int interlace, 
<BR>                 
int quality)<BR>        Writes image object 
to specifed filename.<BR>        Passing an 
empty filename sends output to stdout.  In this 
case,<BR>        the PHP header() function 
should be used to set the 
documents's<BR>        content-type prior to 
calling saveImage().<BR>        Type can be 
either MS_PNG or MS_JPEG<BR>        Quality 
should be a value in the range 0-95, higher value 
implies<BR>        higher image quality and 
larger image sizes.<BR>        If quality is 
negative, then the default IJG JPEG quality value is 
<BR>        
used.<BR>        The function returns -1 on 
error.  On success, it returns either 
0<BR>        if writing to an external file, 
or the number of bytes written if <BR>        
output is sent to stdout.<BR></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>no GIF support?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-jim</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>