Re: [PHP] Re: Trying to create a colortable - what am I missing here?

2009-05-12 Thread Thodoris
On Tue, 2009-05-12 at 18:05 +0300, Thodoris wrote: Still curious about the right script though (if this is possible of course). Of course it's possible... but you're probably not going to get the results you want since you're taking 3 dimensions and trying to push them into 2. You'll

Re: [PHP] Re: Trying to create a colortable - what am I missing here?

2009-05-12 Thread Robert Cummings
On Tue, 2009-05-12 at 18:05 +0300, Thodoris wrote: > > Still curious about the right script though (if this is possible of > course). Of course it's possible... but you're probably not going to get the results you want since you're taking 3 dimensions and trying to push them into 2. You'll notice

Re: [PHP] Re: Trying to create a colortable - what am I missing here?

2009-05-12 Thread Thodoris
Thodoris wrote: דניאל דנון wrote: I've tried to make a color table, but I am missing something. not in the color-table-code itself, but in somewhere else... I just can't find... untested but try.. // 4096*4096 = 16777216 = FF+1 $im = imagecreate(4096, 4096); $white =

Re: [PHP] Re: Trying to create a colortable - what am I missing here?

2009-05-12 Thread Peter Ford
Thodoris wrote: > >> דניאל דנון wrote: >>> I've tried to make a color table, but I am missing something. not in the >>> color-table-code itself, but in somewhere else... I just can't find... >> >> untested but try.. >> >> // 4096*4096 = 16777216 = FF+1 >> $im = imagecreate(4096, 4096); >> $whi

Re: [PHP] Re: Trying to create a colortable - what am I missing here?

2009-05-12 Thread Thodoris
דניאל דנון wrote: I've tried to make a color table, but I am missing something. not in the color-table-code itself, but in somewhere else... I just can't find... untested but try.. // 4096*4096 = 16777216 = FF+1 $im = imagecreate(4096, 4096); $white = imagecolorallocate($im, 0, 0, 0); $r

[PHP] Re: Trying to create a colortable - what am I missing here?

2009-05-11 Thread Nathan Rixham
דניאל דנון wrote: I've tried to make a color table, but I am missing something. not in the color-table-code itself, but in somewhere else... I just can't find... untested but try.. // 4096*4096 = 16777216 = FF+1 $im = imagecreate(4096, 4096); $white = imagecolorallocate($im, 0, 0, 0); $r =