Re: [PHP] How can I call GD's imagepng() directly from my class?

2010-12-07 Thread Richard Quadling
On 7 December 2010 07:19, Nathan Nobbe quickshif...@gmail.com wrote: On Mon, Dec 6, 2010 at 5:26 PM, Daevid Vincent dae...@daevid.com wrote: I got a little 'hack' further, but not loving it. Maybe I'll move the image to a $_SESSION variable and then have the gdtest.php pull it and echo it

[PHP] How can I call GD's imagepng() directly from my class?

2010-12-06 Thread Daevid Vincent
I have a class that does some massive computations to compute a LOPA (layout of passenger aircraft). I currently render it in an HTML table with little seats. I want to now make this using GD so I can show entire fleets of aircraft on one page. Inside my LOPA.class.php I have this method:

Re: [PHP] How can I call GD's imagepng() directly from my class?

2010-12-06 Thread Nathan Nobbe
On Mon, Dec 6, 2010 at 5:01 PM, Daevid Vincent dae...@daevid.com wrote: I have a class that does some massive computations to compute a LOPA (layout of passenger aircraft). I currently render it in an HTML table with little seats. I want to now make this using GD so I can show entire fleets

RE: [PHP] How can I call GD's imagepng() directly from my class?

2010-12-06 Thread Daevid Vincent
-Original Message- From: Daevid Vincent [mailto:dae...@daevid.com] Sent: Monday, December 06, 2010 4:02 PM To: php-general@lists.php.net Subject: [PHP] How can I call GD's imagepng() directly from my class? I have a class that does some massive computations to compute a LOPA

Re: [PHP] How can I call GD's imagepng() directly from my class?

2010-12-06 Thread Nathan Nobbe
On Mon, Dec 6, 2010 at 5:26 PM, Daevid Vincent dae...@daevid.com wrote: I got a little 'hack' further, but not loving it. Maybe I'll move the image to a $_SESSION variable and then have the gdtest.php pull it and echo it that way well i think you may be in the right direction, however,