php function returning a gd image

Discussion in 'Software' started by PeterK2003, Aug 10, 2006.

  1. PeterK2003

    PeterK2003 Private E-2

    i need to write a PHP function that returns a image created by the GD plugin. The problem is that when you call imagepng($img) it just just pushes the data stream out to the browser and it doesn't treat it as and image just text. I am not sure if that makes sense but if anyone has any suggestions pleas let me know.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds