If we want to use image manipulation when processing image upload in our rails application, paperclip is a rich tool that we could deal with…