[PHP] Image question for runways

2010-09-14 Thread Alexis
Hi, I am trying to create an on the fly image of runway layouts but am hitting a brick wall. I have both the starting and ending coordinates of each runway, it's length, as well as it's angle of direction (heading). I can draw one runway without any problem, but where I am falling short

Re: [PHP] image question again

2010-04-07 Thread Ashley Sheridan
On Tue, 2010-04-06 at 21:44 -0500, Karl DeSaulniers wrote: When I have an imagecreatetruecolor and I create another one and use imagecopymerge, how do I keep the backgrounds transparent even if say the width of the top image is smaller than the back image? I keep getting a black

[PHP] image question again

2010-04-06 Thread Karl DeSaulniers
When I have an imagecreatetruecolor and I create another one and use imagecopymerge, how do I keep the backgrounds transparent even if say the width of the top image is smaller than the back image? I keep getting a black background where the top image does not cover the back. It sets the

RE: [PHP] Image question

2004-09-15 Thread Gryffyn, Trevor
To: [EMAIL PROTECTED] Subject: RE: [PHP] Image question Oop... spoke too soon. I was able to store the image into the database, but now I can't pull it back out and manipulate it with the gd image functions. Instead of using the imagejpeg function, I can just echo the field and the image

[PHP] Image question

2004-09-14 Thread Ed Lazor
PHP's creating an image and I'm trying to store it into MySQL. Instead of raw binary data, all I'm getting is a resource reference. To test this and keep things as simple as possible, I took and created an image with createimagefromjpeg. Here's some example code of what I'm talking about: $url

Re: [PHP] Image question

2004-09-14 Thread Jason Wong
On Wednesday 15 September 2004 08:05, Ed Lazor wrote: PHP's creating an image and I'm trying to store it into MySQL. Instead of raw binary data, all I'm getting is a resource reference. To test this and keep things as simple as possible, I took and created an image with createimagefromjpeg.

RE: [PHP] Image question

2004-09-14 Thread Ed Lazor
Got it. Thanks Jason. -Original Message- Imagejpeg($im); // successfully displays image Use the ob_*() functions to capture the output. See archives for details. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Image question

2004-09-14 Thread Ed Lazor
] Image question Got it. Thanks Jason. -Original Message- Imagejpeg($im); // successfully displays image Use the ob_*() functions to capture the output. See archives for details. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Image question

2004-09-14 Thread Jason Wong
On Wednesday 15 September 2004 08:43, Ed Lazor wrote: Oop... spoke too soon. I was able to store the image into the database, but now I can't pull it back out and manipulate it with the gd image functions. Instead of using the imagejpeg function, I can just echo the field and the image will

[PHP] image question

2003-03-10 Thread Anthony Ritter
I'm looking for a php tutorial or script which can open and read an existing .jpg or .png from another URL. Next, the script then modifies that image by - say - cropping off the bottom by 20px or resizing it by 50%. Lastly, could this modified file then be renamed on ones server? Many thanks,

Re: [PHP] image question

2003-03-10 Thread Hugh Danaher
, 2003 10:23 AM Subject: [PHP] image question I'm looking for a php tutorial or script which can open and read an existing .jpg or .png from another URL. Next, the script then modifies that image by - say - cropping off the bottom by 20px or resizing it by 50%. Lastly, could this modified file

[PHP] Image Question

2002-04-08 Thread Jay Paulson
Hello everyone. I'm uploading an image, resizing it, then base64_encoding it to put the image into a data base.. then when I view it out of the data base using the base64_decode function it looks horrible. Below is the original image off of IMDB.com

RE: [PHP] Image Question

2002-04-08 Thread Rick Emery
[mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 5:20 PM To: [EMAIL PROTECTED] Subject: [PHP] Image Question Hello everyone. I'm uploading an image, resizing it, then base64_encoding it to put the image into a data base.. then when I view it out of the data base using the base64_decode

Re: [PHP] Image Question

2002-04-08 Thread Kevin Stone
. Hope it helps. -Kevin - Original Message - From: Rick Emery [EMAIL PROTECTED] To: 'Jay Paulson' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, April 08, 2002 4:19 PM Subject: RE: [PHP] Image Question First, why store it in a database? Why not store it as a separate file

Re: [PHP] Image Question

2002-04-08 Thread Jay Paulson
writers don't know the first thing about image editing and can't resize the image themselves. - Original Message - From: Rick Emery [EMAIL PROTECTED] To: 'Jay Paulson' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, April 08, 2002 5:19 PM Subject: RE: [PHP] Image Question First, why store

Re: [PHP] Image Question

2002-04-08 Thread Jay Paulson
Well my host had GD 2.0 or higher installed. Wonder if there is something I need to ask my host about the package they have installed? - Original Message - From: Kevin Stone [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 08, 2002 5:36 PM Subject: Re: [PHP] Image Question

Re: [PHP] Image Question

2002-04-08 Thread Richard Archer
At 5:56 PM -0500 8/4/02, Jay Paulson wrote: Well my host had GD 2.0 or higher installed. Wonder if there is something I need to ask my host about the package they have installed? You do create a new image with ImageCreateTrueColor don't you? This works for me: $tmp_img =