in reply to Re^5: GD colorAllocate not changing colour
in thread GD colorAllocate not changing colour

A compression level of -1 uses the default compression level selected when zlib was compiled on your system, and is the same as calling png() with no argument.

Oh! That's useful...
So it would always be sensible to include a compression level unless you happened to be the one who did the installation.

  • Comment on Re^6: GD colorAllocate not changing colour