Active
Project:
John Conway's Game of Life
Version:
6.x-1.0
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jul 2009 at 08:08 UTC
Updated:
26 Jul 2009 at 08:08 UTC
In the game of life the black background would never change based on the set preferences.
The issue was that line 46 in conwayslife_image.php used imagecreatetruecolor() to returns an image identifier representing a *black* image of the specified size.
Changing the function to imagecreate() Creates a new palette based image that will render an color pref.