NYCPHP Meetup

[nycphp-talk] How to add lines or other drawings on top of jpeg image?

Mark Armendariz nyphp at enobrev.com
Mon Feb 24 13:10:21 EST 2003


GD is a great tool, but I found it to be pretty resource intensive en masse.
If you're doing a lot of images, like watermarking for uploads on a members
site, I would recommend ImageMagick if you have it available.  I'm not sure
if it comes with regular server setups but it's been at most LAMP hosts I've
worked with.

http://www.imagemagick.org

Mark

-----Original Message-----
From: Jeremy Hise [mailto:jhise at nextsource.com] 
Sent: Monday, February 24, 2003 12:53 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] How to add lines or other drawings on top of jpeg
image?


http://www.php.net/manual/en/function.imagecreatefromjpeg.php

Be sure to read the comments as well.

After you open your jpeg, you can use all the image functions to create your
lines and text.

hise

On Mon, 24 Feb 2003 12:11:51 -0500
Elena Zagrai <ny_elena at yahoo.com> wrote:

> Hi everybody,
> 
> I've got a jpeg file and I need to add some drawings
> and text on top of it. I can put the text on (with a
> regular html div box ), but I'm still struggling with drawings. I have 
> GD libraries installed. I would appreciate your help, guys...
>  
> Thanks,
> 
> Elena
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, more 
> http://taxes.yahoo.com/
> 
> 
> 
> 


-- 

-+----------------------+
 | jhise at nextsource.com |
 | developer            |
 | nextSource, Inc.     |
 | x334                 |
 +----------------------+


--- Unsubscribe at http://nyphp.org/list/ ---










More information about the talk mailing list