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

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 backgr

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

RE: [PHP] Image question

2004-09-15 Thread Gryffyn, Trevor
14, 2004 8:44 PM > 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

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 wil

RE: [PHP] Image question

2004-09-14 Thread Ed Lazor
TECTED] > Subject: RE: [PHP] 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. > >

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

[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

2003-03-10 Thread Hugh Danaher
lt;[EMAIL PROTECTED]> Sent: Monday, March 10, 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 &

[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, To

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

Re: [PHP] Image Question

2002-04-08 Thread Jay Paulson
gt; experience programming graphics in PHP but I thought I'd offer up this > possiblity. Hope it helps. -Kevin > > - Original Message - > From: "Rick Emery" <[EMAIL PROTECTED]> > To: "'Jay Paulson'" <[EMAIL PROTECTED]>; <[EMAIL

Re: [PHP] Image Question

2002-04-08 Thread Jay Paulson
e because some of my 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]> Se

Re: [PHP] Image Question

2002-04-08 Thread Kevin Stone
x27;d offer up this possiblity. 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 Questi

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_d

[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 http://us.imdb.com/ImageView?u=http%3A//images

[PHP] Image Question

2001-09-04 Thread Jeff Oien
I have some images in a photo album type thing of charts with a black background. Some users have complained that when they print this they use a lot of ink. I was wondering if it were possible to convert an image to black and white (b&w only, no grayscale) and then reverse it so the background w