Preview of bmp and svg