code: def convert_rgb_to_rgba(self, row, result):
          
          for i in range(len(row) // 3):
              for j in range(3):
                  result[(4 * i) + j] = row[(3 * i) + j]
docs: Convert an RGB image to RGBA.
  
          This method assumes the alpha channel in result is already
          correctly initialized.