Refine styles of images