prep for image manipulation