A kind of optical fiber is provided, scanner can generate image with good picture quality. A kind of fiber-optic scanner which movement output end fiber cross-sections 31 are disclosed by optical scanning actuator 40, and to according to coming from optical fiber 31. Optical fiber 31 includes that photonic crystal fiber 310 at least extends to optical scanning actuator 40 in the path of a light propagation.