remove unnecessary image creation. setPixels also creates/overwrites the image variable.

Change-Id: I82feed32550d2b857b321637a5b0ac2e2a52f8d9