`context` has been removed as it is not used and doesn't seem that useful.
imageCheck will give a report on image, notably it will tell if it's too big and needs to be resized before a transfer. imageResize will create a new image with the requested size and return a path to it.