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
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
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.
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
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
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
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,
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
. 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
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
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
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 =
12 matches
Mail list logo