Um, even that distinction is blurred! It seems in modern x-ray practice, the film holder has a coating of phosphor that emits visible light in response to radiation - a sort of image amplification function. I only recently learned about this when I got entangled with x-ray film for my big pinhole camera. I'm using green sensitive -- there are also blue sensitive x-ray films.
Or perhaps we could say photos are written with
light of wavelengths potentially outside the visible spectrum. Frankly, thinking too much about these details makes my aging brain hurt!