reate thumbnail images, convert image types.