Manually replacing pixels