fix #11358: set image format after import