As mentioned in this issue, the xenium_aligned_image function assumes the image has 3 or 4 channels (i.e., typically, an H&E image).
It would be great to expand it, as we did recently here for Visium HD data. Let me know @LucaMarconato if you agree to have the same behavior as for Visium HD data, and I'll make a PR!