Added image processing functions from getting the foreground area, filling the background, cropping and image, and uncropping an image. Not accessible from the command line for the moment.