imagecreatefrombmp

Description

Functions similar to the GD function of the same name. Only defined if it doesn't already exist.

Syntax

resource imagecreatefrombmp (string $filename)



Parameter $filename

Expected type: String
Description: The name of the bitmap image that a new image should be created from



Return value

Expected type: Resource
Description: $dst_img, an image identifier representing the bitmap image obtained from the given filename


Notes

  • Is set only if it doesn't already exist (for forwards compatiblity.)
  • Only supports uncompressed bitmaps.
  • Returns an image identifier representing the bitmap image obtained from the given filename.
Advertisement: