Saving images

Saving images is very simple. It is only important to specify the full path. As in the preceding example, we will use pwd() to reference current directory:

imwrite(joinpath(pwd(), "cat-copy.png"), img)