Image Scaling Algorithms: Nearest Neighbor, Bilinear, and Lanczos