Rectangle library update.
Saves an image.