Colour sketch drawing robot in uipath

Hi All,
Inspired by below workflow:

I am trying to create one robot that reads pixel information and prints the same (in the same colour). I am trying to print the same in Adobe photoshop 7.0.
But the workflow is not doing the job. Its reading the first pixel only and printing the same in one place…
I have attached the code. Please check and let me know how this can be resolved.
Photoshop_Print.zip (87.4 KB)