Most Referenced Functions
  » google_pagerank()
  » preg_replace()
  » site_pageranks()
  » imagecreatefrompng()
  » htmlentities()
  » imagepng()
  » imagestring()
  » imagedestroy()
  » preg_match()
  » imagecolorallocate()
  » header()
  » fopen()
  » session_start()
  » getimagesize()
  » strpos()
  » strstr()
  » preg_match_all()
  » ob_start()
  » nl2br()
  » array2vars()
  » str_replace()
  » ob_flush()
  » flush()
  » htmlspecialchars()
  » setcookie()
  » urlencode()
  » ereg()
  » preg_split()
  » ereg_replace()
  » var_dump()

Our Sponsors
 » Weblog Community
 » Rock Music Community - meet fans
 » Furniture Stores Allentown

Become a sponsor for $15/month. Link is sitewide - PR5 homepage, 20+ PR4 pages, 90+ PR3 pages. Email dave[AT]icemelon[D0T]c0m.

Local search Connecticut furniture stores can be found at FurnitureCatch: Furniture Stores Norwalk, Furniture Stores Stamford, Furniture Stores Greenwich, Furniture Stores New Canaan, Furniture Stores Darien
PHP Functions

Function: imagewbmp

(PHP 3 >= 3.0.15, PHP 4 >= 4.0.1, PHP 5)

imagewbmp -- Output image to browser or file

Description

bool imagewbmp ( resource image [, string filename [, int foreground]] )

imagewbmp() creates the WBMP file in filename from the image image . The image argument is the return from the imagecreate() function.

The filename argument is optional, and if left off, the raw image stream will be output directly. By sending an image/vnd.wap.wbmp content-type using header() , you can create a PHP script that outputs WBMP images directly.

Note: WBMP support is only available if PHP was compiled against GD-1.8 or later.

Using the optional foreground parameter, you can set the foreground color. Use an identifier obtained from imagecolorallocate() . The default foreground color is black.

Related Function(s)

  • imagecreate()
  • header()
  • imagecolorallocate()
  • image2wbmp()
  • imagepng()
  • imagegif()
  • imagejpeg()
  • imagetypes()
  • Icemelon -- PHP, CSS, Javascript Tutorials, & More!
      © 2005-2010 Icemelon.com   Email: dave[AT]icemelon[D0T]c0m