fix getting image pixel size on cmd:getfile
Merge branch '2.x' into 2.1
Merge branch '2.1' into 2.1_n