Image.tobytes Call Format for Non-raw Encoders

Hi all,

Having a bit of a problem with Image.tobytes with non-"raw" encoders:

and the explicit:

Both work fine, but something like:

gives me the following error:

File "/usr/local/lib/python2.7/dist-packages/PIL/Image.py", line 650, in tobytes
    e = _getencoder(self.mode, encoder_name, args)
File "/usr/local/lib/python2.7/dist-packages/PIL/Image.py", line 430, in _getencoder
    return encoder(mode, *args + extra)
TypeError: function takes at least 2 arguments (1 given)

Any guidance here? Honestly can't work out if I'm being the world's biggest noob or if something's amiss here!