ext_54529: (number)
ext_54529 ([identity profile] shrydar.livejournal.com) wrote in [personal profile] theducks 2008-10-28 01:33 pm (UTC)

'This allocates a color with the specified red, green and blue components and returns its index in the color table'

I suspect it's creating an 8-bit paletted image - so once you allocate 256 colours that's your lot.

Try wrapping the colorAllocate in your loop with an if( ($i % 8)==0 ) and see what happens..

Any particular reason for using Perl+GD?

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting