But what if you want to create a thumbnail and keep the original proportions? You will need to scale the image.
Image scaling is the process of changing the size of an image and saving the original proportions. If in the previous section, we manually picked the width and height, we will now calculate it.