The following section only applies to palette images. This means it wont work on true-color images.
It is often desirable to have a background image look a little bit "washed" out so it doesn't take the concentration away from the actual graph. There are basically two ways of accomplish this
To adjust the background image call The levels for both brightness and contrast are real numbers in the range [-1, 1] You can choose to adjust for example just the background image or you might also choose to adjust the whole image. To change the background image just use the method Graph::AdjBackgroundImage() to specify a suitable value. Let's show some example on what we can do with this. The following example have been generated by using the small utility "adjimg.php" which you can find in the "utils/" directory.
Brightness=0, contrast=0, saturation = -1 (Original image)
Brightness=0, contrast=0, saturation = -1 (Black & White image)
Brightness=0.3, contrast=-0.3, saturation=0
Brightness=0.4, contrast=-0.7, saturation=0
Brightness=0.4, contrast=-0.7, saturation=-1
Brightness=0, contrast=0, saturation=1