changed Pixel type from (Int,Int,Int) to [Int]