contents   index   previous   next



GD.fromGif()

syntax:

GD.fromGif(filename)

where:

filename - name of GIF file to open.

 

return:

object - new GD object with the contents of the file, or null if there was an error.

 

description:

This method attempts to open the specified file, and then attempts to read in the GIF data. If there is an error opening the file or reading the data, then null is returned. Otherwise, the method constructs a new GIF object whose content is the GIF read from the file.

 

see:

#link <gd>, GD.fromGd(), GD toGif()

 

 


GD.fromXbm()