Re: [PHP] image* Functions' Memory Usage

2008-01-04 Thread Ólafur Waage
I recently made two commercial sites that used both GD and Imagick and i can share some wisdom i got from those projects. (both projects were "card" generators where users made their custom cards and but one had a fixed picture and users could add text and the other one allowed users to add their

Re: [PHP] image* Functions' Memory Usage

2008-01-04 Thread Dan
"Casey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On Jan 4, 2008, at 9:54 AM, "Daniel Brown" <[EMAIL PROTECTED]> wrote: On Jan 4, 2008 12:46 PM, Casey <[EMAIL PROTECTED]> wrote: Greetings, list. I have a web application that generates PNG images that are thousands of pixels

Re: [PHP] image* Functions' Memory Usage

2008-01-04 Thread Daniel Brown
On Jan 4, 2008 12:59 PM, Casey <[EMAIL PROTECTED]> wrote: [snip] > I'm laying many different other (smaller) images over each other at > various positions. (I know HTML/CSS and SVG could do this with less > trouble, but that would give away my secrets by just viewing the > source.) Okay, so ki

Re: [PHP] image* Functions' Memory Usage

2008-01-04 Thread Casey
On Jan 4, 2008, at 9:54 AM, "Daniel Brown" <[EMAIL PROTECTED]> wrote: On Jan 4, 2008 12:46 PM, Casey <[EMAIL PROTECTED]> wrote: Greetings, list. I have a web application that generates PNG images that are thousands of pixels high by thousands of pixels wide (using imagepng, etc.). The problem

Re: [PHP] image* Functions' Memory Usage

2008-01-04 Thread Daniel Brown
On Jan 4, 2008 12:46 PM, Casey <[EMAIL PROTECTED]> wrote: > Greetings, list. > > I have a web application that generates PNG images that are thousands > of pixels high by thousands of pixels wide (using imagepng, etc.). > > The problem is this takes way too much memory, and the rest of the > site b

[PHP] image* Functions' Memory Usage

2008-01-04 Thread Casey
Greetings, list. I have a web application that generates PNG images that are thousands of pixels high by thousands of pixels wide (using imagepng, etc.). The problem is this takes way too much memory, and the rest of the site becomes too slow. I'm working on something to cache the images,

[PHP] Image functions: date?

2007-12-01 Thread Dotan Cohen
I remember once coming across a bit of php code that displayed the "created" date of a jpeg image. I cannot find it, and I cannot find anything related to that in tfm. Can someone give me a push in the general direction? Thanks in advance. Dotan Cohen http://what-is-what.com http://gibberish.co.i

[PHP] Image Functions

2003-12-10 Thread David O'Brien
Is there an equivalent way of doing a ImageMagick "composite file1.png file2.png file3.png" using the builtin GD functions? -Dave David G. O'Brien Web Services Coordinator / Systems Administrator NACCRRA The Nation's Network of Child Care Resource & Referral 1319 F Street NW, Suite 500 Washin

[PHP] Re: PHP Image Functions

2002-07-09 Thread Richard Lynch
>I have a directory of jpegs that I want to display thumbnails of and have a >link to the original jpeg. I would rather not create separate thumbnails >images preferring to create them in memory to display them. I have installed >GD v.1.8.4. The code below outputs jumbled text to the browser (poss

RE: [PHP] PHP Image Functions

2002-07-09 Thread Mark Colvin
That's the winner!! Everything working good now. Thanks again. This e-mail is intended for the recipient only and may contain confidential information. If you are not the intended recipient then you should reply to the sender and take no furt

RE: [PHP] PHP Image Functions

2002-07-09 Thread joakim . andersson
ROTECTED]] > Sent: Tuesday, July 09, 2002 12:30 PM > To: [EMAIL PROTECTED] > Cc: Php (E-mail) > Subject: RE: [PHP] PHP Image Functions > > > Thanks for your reply. Its a bit further forward but still > not working. I > have split the files and the output now shows the

RE: [PHP] PHP Image Functions

2002-07-09 Thread Mark Colvin
Thanks for your reply. Its a bit further forward but still not working. I have split the files and the output now shows the text part of 'img alt="text" src="...' ie it won't recognise the image. Anything else you can think of? This e-mail is

RE: [PHP] PHP Image Functions

2002-07-09 Thread joakim . andersson
L PROTECTED]] > Sent: Tuesday, July 09, 2002 11:27 AM > To: Php (E-mail) > Subject: [PHP] PHP Image Functions > > > I have a directory of jpegs that I want to display thumbnails > of and have a > link to the original jpeg. I would rather not create separate > thumbnails

[PHP] PHP Image Functions

2002-07-09 Thread Mark Colvin
I have a directory of jpegs that I want to display thumbnails of and have a link to the original jpeg. I would rather not create separate thumbnails images preferring to create them in memory to display them. I have installed GD v.1.8.4. The code below outputs jumbled text to the browser (possibly

[PHP] Image functions

2002-04-19 Thread Gerard Samuel
Im trying to modify a poll script to not use the hard coded image files and use php's image functions. On the file that will be outputing the poll graphics, I tried at the top of the page -> header("Content-type: image/png"); and header("Content-type: image/jpeg"); For some reason, when the pag

Re: [PHP] image functions => text alignment

2002-03-26 Thread Miguel Cruz
On Tue, 26 Mar 2002, Fabio Spinelli wrote: > Hi all, I'm writing a script that generate invoices in a PNG files. > My problem is that I have to write the numbers aligned to the right. > I'm using the funciotn ImageTTFText and it haven't a parm that tells the > alignment. > I looked at the IMAGE fu

[PHP] image functions => text alignment

2002-03-26 Thread Fabio Spinelli
Hi all, I'm writing a script that generate invoices in a PNG files. My problem is that I have to write the numbers aligned to the right. I'm using the funciotn ImageTTFText and it haven't a parm that tells the alignment. I looked at the IMAGE functions list in www.php.net but I didn't found nothin

Re: [PHP] Image Functions and PHP 4.0.6

2001-05-20 Thread Henrik Hansen
"Ryan Sommers" <[EMAIL PROTECTED]> wrote: > When will PHP4.0.6 be released? I'm writing an image library for my site and > could use things like ImageCopyMerge() and ImageCopyResampled(). I think the developers are hoping to release it within a week (if everything goes smooth :) -- Henrik Ha

[PHP] Image Functions and PHP 4.0.6

2001-05-20 Thread Ryan Sommers
When will PHP4.0.6 be released? I'm writing an image library for my site and could use things like ImageCopyMerge() and ImageCopyResampled(). -- -- Ryan "leadZERO" Sommers Raving Gaming President [EMAIL PROTECTED] ICQ: 1019590 AIM/MSN: leadZERO -= http://www.ravingaming.com =- /* All commun

Re: [PHP] image* functions won't work.

2001-02-06 Thread David Robley
On Wed, 7 Feb 2001 17:52, Lauri Jakku wrote: > Hi, > i've installed latest apache and php.. and find out that the > image* functions dosen't work .. > > apache_1.3.17 > freetype-2.0.1 > gd-1.8.4 > jpeg-6b > php-4.0.4pl1 > > are compiled & installed without any whine .. What do you me

[PHP] image* functions won't work.

2001-02-06 Thread Lauri Jakku
Hi, i've installed latest apache and php.. and find out that the image* functions dosen't work .. apache_1.3.17 freetype-2.0.1 gd-1.8.4 jpeg-6b php-4.0.4pl1 are compiled & installed without any whine .. -- Terv. \-^-/ ( o o ) v- Idiots tr