Basically, I have to resize an RGB image to 256 x 256 dimensions while maintaining its aspect ratio. If the aspect ratio of the input image does not match with the aspect ra