2. levelImage() will now choose between MagickLevelImage and MagickLevelImageChannel depending on whether the channel is provided (the former if it isn't). To adjust the levels of an image by scaling the colours falling between specified white and black points to the full available quantum range, leave out the channel or use Gmagick::CHANNEL_DEFAULT. The range of applicable channels for this method can be seen here: