Set shadow in different file formats