added image class for pixel transfer