encode all images, clearence