doesn't crash on previewing non-bitmap images