NYCPHP Meetup

NYPHP.org

[nycphp-talk] text overlay on graphic

Brian Pang bpang at bpang.com
Fri Sep 10 12:33:07 EDT 2004


yep.. it's pretty easy...
createimagefrom{gif/png/jpeg}()
imagetext() to add text to it
header() to set the proper content type
image{png/jpeg}() to output the revised image to browser/file

watch out for stray chars before the header or image output.


> Hello all,
> 
> I'm looking for input on taking any image format and overlaying 
> customized text that a client enters for "proofing" a product order on a 
> website.
> 
> Before I launch into some research, this strikes me as doable with php 
> and gd... any experience on this?
> 
> thanks,
> John
> 
> _______________________________________________
> New York PHP Talk
> Supporting AMP Technology (Apache/MySQL/PHP)
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.newyorkphp.org
> 
> 





More information about the talk mailing list