A function used to determine new pixel values for an image that has its dimensions changed somehow.
(Delhi, India)