Please answer the following questions to see whether you have successfully learned this chapter:
- Which package(s) are required to load an image from a disk?
- Which package is required to download a file from the internet?
- Which types of files/file extensions are returned by the readdir function?
- Which function is used to save an image to disk? What are the prerequisites for saving a file to disk?
- What is the most noticeable difference when saving images in JPG or PNG formats?
- What is the difference between scale and resize?