RE: [PHP] Creating image on-the-fly

2010-07-07 Thread Ashley Sheridan
On Wed, 2010-07-07 at 13:43 -0700, Daevid Vincent wrote: > > > -Original Message- > > From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] > > Sent: Wednesday, July 07, 2010 1:22 PM > > To: Marc Guay > > Cc: php-general > > Subject: Re: [PHP

RE: [PHP] Creating image on-the-fly

2010-07-07 Thread Daevid Vincent
> -Original Message- > From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] > Sent: Wednesday, July 07, 2010 1:22 PM > To: Marc Guay > Cc: php-general > Subject: Re: [PHP] Creating image on-the-fly > > On Wed, 2010-07-07 at 16:05 -0400, Marc Guay wrote: >

Re: [PHP] Creating image on-the-fly

2010-07-07 Thread Ashley Sheridan
On Wed, 2010-07-07 at 16:05 -0400, Marc Guay wrote: > > I was wondering if there was any way I can create an image from some text > > with php? > > Something like this? > > http://sgss.me/obsolete/experiments/phpfontimagegenerator2/usage.php > One thing to bear in mind is that this introduces

Re: [PHP] Creating image on-the-fly

2010-07-07 Thread Marc Guay
> I was wondering if there was any way I can create an image from some text > with php? Something like this? http://sgss.me/obsolete/experiments/phpfontimagegenerator2/usage.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Creating Image v2... storing thumblains...

2002-08-01 Thread mp
Oh don't worry about this... I've already found the mistake... > Thanks to those who helped me last time about creating image, but now there > is another problem... > I'm making a thumblain like this: > > $base_size = 300; > > $size = GetImageSize($image1); > $kof =

Re: [PHP] Creating Image...

2002-07-31 Thread hugh danaher
ssage - From: "Andrew Chase" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 31, 2002 1:10 PM Subject: RE: [PHP] Creating Image... > To write a GD image to disk as a jpeg, do this instead: > > > $im = imagecreate(50,100); > > imagejpeg($i

RE: [PHP] Creating Image...

2002-07-31 Thread Andrew Chase
To write a GD image to disk as a jpeg, do this instead: $im = imagecreate(50,100); imagejpeg($im, "test/im.jpg"); You don't need to use file handlers. Of course, without doing anything like adding text or lines to $im, it will just be written to disk as a blank image. :) -Andy > -Origin

Re: [PHP] Creating Image...

2002-07-31 Thread Jason Wong
On Thursday 01 August 2002 02:11, mp wrote: > I want to create simple image... > I execute this script: > > $im = imagecreate (50, 100); > $fp = fopen("test/im.jpg","w"); > fwrite($fp, imagegd($im)); > fclose($fp); > > But there is some problems about this... > Could somebody help me? Only if

RE: [PHP] creating Image to display without saving it.

2002-05-24 Thread Leotta, Natalie (NCI/IMS)
ay 23, 2002 3:00 PM To: Leotta, Natalie (NCI/IMS) Cc: [EMAIL PROTECTED] Subject: Re: [PHP] creating Image to display without saving it. On Thu, 23 May 2002, Leotta, Natalie (NCI/IMS) wrote: > I've got a page where I create an Image that I want to put into one of > my HTML table cells.

Re: [PHP] creating Image to display without saving it.

2002-05-23 Thread Miguel Cruz
On Thu, 23 May 2002, Leotta, Natalie (NCI/IMS) wrote: > I've got a page where I create an Image that I want to put into one of my > HTML table cells. I've been doing this by saving the file, chmoding it, and > then opening it using image source in the HTML. > > The problem is that when you do