Re: [PHP] Image Creation

2005-02-15 Thread Richard Lynch
Aaron Todd wrote: > I just wrote a little script to play around with the GD library but I am > having a problem displaying it in the browser. I have not problem at all > when I just run the script. But I was trying to make the image in a > custom > function which will return the image when its ca

[PHP] Image Creation

2005-02-15 Thread Aaron Todd
I just wrote a little script to play around with the GD library but I am having a problem displaying it in the browser. I have not problem at all when I just run the script. But I was trying to make the image in a custom function which will return the image when its called. All I end up getti

Re: [PHP] Image Creation and Saving

2005-01-31 Thread Jochem Maas
NathanielGuy#21 wrote: Yes, I was mainly wanting to know if I needed to call it at all with what I was doing. not unless you want to create a new image (and add some part of another image to it, add some text etc) and output that. also IIRC its only available in GDlib 2.0.x and up. On Sun, 30 Jan

Re: [PHP] Image Creation and Saving

2005-01-30 Thread Jochem Maas
NathanielGuy#21 wrote: Ah, thank you. after checking that the folder was there I found I had made a mistake in the path to the folder. 8_ I can believe I didnt find it before. Aside from that error, did I go about the image resizing and everything in the correct way? What is the use of imagecrea

Re: [PHP] Image Creation and Saving

2005-01-30 Thread NathanielGuy#21
Ah, thank you. after checking that the folder was there I found I had made a mistake in the path to the folder. 8_ I can believe I didnt find it before. Aside from that error, did I go about the image resizing and everything in the correct way? What is the use of imagecreatetruecolor(). Thanks

Re: [PHP] Image Creation and Saving

2005-01-30 Thread hitek
Are you making sure the $_SESSION['user_sn'] folder exists before saving the image into it? I'm asking because I originally thought it was a permission problem but php will tell you 'permission denied' if that was the case. At 05:05 PM 1/29/2005, NathanielGuy#21 wrote: Hello everyone, I have bee

[PHP] Image Creation and Saving

2005-01-29 Thread NathanielGuy#21
Hello everyone, I have been troubleshooting a problem with one of my scripts for a while now, its purpose is to allow a user to upload a file, save it to the server, resize it into a thumbnail, and save the thumbnail as well. In my script all goes well until it comes to saving the images, the scri

[PHP] Image creation

2004-03-07 Thread Kenneth
Dear all, Thanks Kilimajer's help and I can finally build-in the GD library. But when i use the imagecreate function for jpeg, don't know why there are some unknown wordings appears. Sth like the following: 1oACEEEO¡ÑOUUaaceeeno Don't know what's happening, I just use simple functi

Re: [PHP] image creation error

2003-02-17 Thread Hugh Danaher
MAIL PROTECTED]> Sent: Monday, February 17, 2003 6:51 PM Subject: Re: [PHP] image creation error > i've already compiled my PHP4 with imagejpeg support but now im loosing my > imagegif function. Image jpeg function is now working but for the gif im > receiving this error: >

Re: [PHP] image creation error

2003-02-17 Thread Jason Wong
On Tuesday 18 February 2003 10:51, Michael P. Carel wrote: > i've already compiled my PHP4 with imagejpeg support but now im loosing my > imagegif function. Image jpeg function is now working but for the gif im > receiving this error: > Fatal error: Call to undefined function: imagegif() > > Here's

Re: [PHP] image creation error

2003-02-17 Thread Michael P. Carel
i've already compiled my PHP4 with imagejpeg support but now im loosing my imagegif function. Image jpeg function is now working but for the gif im receiving this error: Fatal error: Call to undefined function: imagegif() Here's my php info after my re-compilation : Configure Command './configur

Re: [PHP] image creation error

2003-02-14 Thread Jason Wong
On Friday 14 February 2003 16:15, Michael P. Carel wrote: > i've already installed gd but still recieving > Fatal error: Call to undefined function: > imagecreatefromjpeg() . You need to configure --with-jpeg-dir. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Sy

Re: [PHP] image creation error

2003-02-14 Thread Michael P. Carel
: Friday, February 14, 2003 3:45 PM Subject: Re: [PHP] image creation error > i've recompile my php4.3 in redhat with > ./configure --with-mysql --with-apache=../apache_1.3.x --with-gd --with-zlib > > and i receive this error upon make > > make: *** Warning: File `libphp4

Re: [PHP] image creation error

2003-02-13 Thread Michael P. Carel
ng to be done for `all'. make: *** Warning: Clock skew detected. Your build may be incomplete. What should be the problem? - Original Message - From: "Kevin Waterson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 14, 2003 3:07 PM Subject:

Re: [PHP] image creation error

2003-02-13 Thread Kevin Waterson
This one time, at band camp, "Michael P. Carel" <[EMAIL PROTECTED]> wrote: > Hi to all, > > Im receiving a Fatal error: Call to undefined function: > imagecreatefromjpeg() . You need to install gd in your config line add --with-gd Kevin -- __ (_ \

[PHP] image creation error

2003-02-13 Thread Michael P. Carel
Hi to all, Im receiving a Fatal error: Call to undefined function: imagecreatefromjpeg() . Do i need to recompile PHP? mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] image creation class

2002-08-13 Thread Sascha Braun
Maybe there went something wrong with the attachment in my last mail. This is my second try bring the class for creating thumbs to you. class constructor ***parameters string pic -> full pic name, including the path (absolute or relative)

RE: [PHP] image creation to file

2002-03-06 Thread Tom Rogers
Hi You have to make sure that the user that your web server is running as has permission to write where you want to create the file. Tom At 12:56 PM 7/03/2002, Craig Westerman wrote: >Hi Tom, > >At first it didn't work. I had to create a blank png image in Photoshop and >uploaded it. I then c

Re: [PHP] image creation to file

2002-03-06 Thread Jim Koutoumis
An alternative is to put the code into makeImage.php and then call it directly from your HTML page with your whenever you want that image displayed. Jim. "Tom Rogers" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi > use ImagePNG($im,"test.png") > > To

RE: [PHP] image creation to file

2002-03-06 Thread Craig Westerman
Hi Tom, At first it didn't work. I had to create a blank png image in Photoshop and uploaded it. I then changed file permissions and then the image creation worked. Is there a way to write to test.png when it doesn't already exist and file permissions are set? Thanks for your help. Craig ><> [E

Re: [PHP] image creation to file

2002-03-06 Thread Tom Rogers
Hi use ImagePNG($im,"test.png") Tom At 12:17 PM 7/03/2002, Craig Westerman wrote: >The following creates a red rectangle png image > >Header("Content-Type: image/png"); >$im = ImageCreate(500, 75); >$red = ImageColorAllocate($im, 255, 0, 0); >ImageFill($im, 100, 100, $red); >ImagePNG($im); >?> >

[PHP] image creation to file

2002-03-06 Thread Craig Westerman
The following creates a red rectangle png image This sends created image to browser ImagePNG($im); How would I save this image as test.png to file to be hard coded in static web pages? Thanks Craig ><> [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

[PHP] GD/PHP Image Creation - combining GIFs

2001-03-31 Thread John Portwin
Hi All, I need to automatically create a large GIF image made up of numerous smaller GIF/JPG files. The list of images (either GIF or JPG) is taken off a MySQL database and at the moment, I create a HTML table (5 columns, up to 20 rows), view it in my browser, manually dump it to the screen and