python-pillow/Pillow — pull request #991 by moriyoshi (2014-11-06 03:22:12+00:00)
Title: The optimization algorithm is only applicable to the image of mode="P".

Title says it all