It’s because the HEIC image type is not supported.
Switch to “Most Compatible” format under Settings > Camera and photos you take with camera will be saved in a supported format.
Another solution would be for #[2] to add support for HEIC but that might be challenging..