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

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

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
from the database in a way that I can continue to manipulate it with the image functions, like imagejpeg($data)? Thanks, Ed -Original Message- From: Ed Lazor [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 14, 2004 5:20 PM To: 'Jason Wong'; [EMAIL PROTECTED] Subject: RE: [PHP

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

Re: [PHP] image question

2003-03-10 Thread Hugh Danaher
Tony, You might want to try the online php manual, I hear it's very good. You should be able to do all of the tasks you desire. Look for image in your search. Hope this helps. Hugh - Original Message - From: Anthony Ritter [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 10,

RE: [PHP] Image Question

2002-04-08 Thread Rick Emery
First, why store it in a database? Why not store it as a separate file, then store pointer/file-name to it in database? If you do want it in the database (may I assume mysql?), then INSERT/LOAD the file directly into the field without conversion. -Original Message- From: Jay Paulson

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 =