Resampling means changing the number of pixels and the pixel dimensions
of an image. Thus, you change the (file) size but also the quality of
an image, either in a positive or in a negative sense:
You can downsample an image, which reduces the size but also
the quality of the image.
You resample an image up and increase the number of
pixels. New pixels are added based on color values of existing pixels.