source: https://github.com/golang/image/commit/76b4869e5a Change-Id: I098f1cdc512c1fd15737867acab7630953ec56ea