Of the many ways images can be loaded into a Wolfram System notebook, Import is the main method used to access image files on your local computer or at a remote location. The import and export of images are the most common first and last steps of practically any image processing computation.
Use FileNameJoin to construct a complete path to a file on the local system:
By specifying the elements of an image for Import, you can get useful information before loading it into the kernel. The file type is automatically deduced from the file name extension:
You can now save the six different images in your local file system by exporting them in any of the many supported file formats. In this example, the JPEG format is used because it stores efficiently.
You can export to an existing directory or create a new directory from within the Wolfram Language. Here, CreateDirectory is used to create a directory in the local system's temporary storage area:
Use FileNameJoin to construct a file name using a simple indexing scheme: