GD Library – PHP GD Library – GD Image Library

header (“Content-type: image/png”); $handle = ImageCreate (130, 50) or die (“Cannot Create image”); $bg_color = ImageColorAllocate ($handle, 255, 0, 0); $txt_color = ImageColorAllocate ($handle, 0, 0, 0); ImageString ($handle, 5, 5, 18, “PHP.About.com”, $txt_color); ImagePng ($handle);

See the original post here:
GD Library – PHP GD Library – GD Image Library

Related posts:

Home | About | Contact | Privacy Policy