In settings file the following config can be used.
$config['toolkit'] = 'gd';