[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

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

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 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

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 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

[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

[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

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

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 my

Re: [PHP] image creation error

2003-02-14 Thread Michael P. Carel
] 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.la' has modification time in the future (2003-0 2-14 16:04:12 2003-02-14 15:47:10

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

[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

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 -- __ (_ \

Re: [PHP] image creation error

2003-02-13 Thread Michael P. Carel
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 This one time

[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. ? //Images Wrapper for thumbs and other stuffs, require GDLib //Riccardo Pasquini, 04/04/2001, v0.1 [EMAIL PROTECTED] /* Finally the class review, 09/08/2002,

[PHP] image creation to file

2002-03-06 Thread Craig Westerman
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); ? This sends created image to browser ImagePNG($im); How would I save this image as

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); ? This

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

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 IMG SRC=makeImage.php whenever you want that image displayed. Jim. Tom Rogers [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi use

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

[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