Re: Creating images on the fly

From: Date: Tue, 21 Aug 2001 11:55:11 +0000
Subject: Re: Creating images on the fly
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-63670@lists.php.net to get a copy of this message
Yes... get inspired from this simple HTML example even! <html> <head> <title>Inline Image generation (via JavaScript)</title> <meta name="Generator" content="EditPlus"> <meta name="Author" content=""> <meta name="Keywords" content=""> <meta name="Description" content=""> </head> <script language="JavaScript"> <!-- img = "#define x_width 16\n#define x_height 16\nstatic char x_bits[] = {0x00, 0x01, 0xe0, 0x0f, 0x10, 0x10, 0xf8, 0x3f, 0x10, 0x10, 0x50, 0x15, 0x50, 0x15, 0x50, 0x15, 0x50, 0x15, 0x50, 0x15, 0x50, 0x15, 0x50, 0x16, 0x50, 0x15, 0x10, 0x10, 0xe0, 0x0f, 0x00, 0x00}"; //--> </script> <body> <img src="javascript:img"> </body> </html> "Niklas Lampen" <niklas.lampen@luukku.com> wrote in message news:001701c12a09$25470c50$1521b9d5@laptop... > Is it possible to create images on the fly, if my phpinfo says nothing about > GD? What I know is that ImageCreateFromPNG() says it's undefined. > > If not, what do I need to install to php to make it possible? > > > Niklas Lampén >

« previous php.general (#63670) next »