The workshop is designed to help you anticipate possible questions, review what you've learned, and begin learning how to put your knowledge into practice.
What RGB values would you use for pure black and pure white?
How do you create a new, blank canvas that is 300 pixels wide and 200 pixels tall?
What function is used to draw a polygon? A filled polygon?
(0,0,0) and (255,255,255)
$new_image = ImageCreate(300,200);
ImagePolygon() and ImageFilledPolygon()
Instead of creating a pie chart, use your drawing skills to create a bar chart with either vertical or horizontal bars, each 30 pixels wide and filled with the same color, but of different lengths. Ensure that there are 10 pixels of space between each bar.