setup canvas for image chopping