NYCPHP Meetup

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

Elena Zagrai ny_elena at yahoo.com
Mon Feb 24 13:29:34 EST 2003


Well, I don't have a blazing machine, but I hope it's 
not going to be that slow if I just draw several lines
and add couple of numbers. But if it will, I'll use
Mark's advice. Thank you, guys.

Elena
 
--- Jeremy Hise <jhise at nextsource.com> wrote:
> No problem. Mark is right though. Depending on what
> you are doing, you'll probably notice it's not the
> fastest thing in the world. I used it once for
> resizing images to thumb-nails on the fly...bad
> move. It takes way too long for any kind of
> production use...unless you have a blazing machine.
> 
> On Mon, 24 Feb 2003 13:16:56 -0500
> Elena Zagrai <ny_elena at yahoo.com> wrote:
> 
> > Thanks, Jeremy. That's what I was looking for :)
> > 
> > --- Jeremy Hise <jhise at nextsource.com> wrote:
> > >
> >
>
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                 |
> > >  +----------------------+
> > > 
> > > 
> > > 
> > > 
> > > 
> > 
> > 
> > __________________________________________________
> > 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/ ---
> 
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/



More information about the talk mailing list