error with image processing when 1 pixel images