Here you'll use torchvision's transforms module, but you can also use any image library you like.