The X-ray fluorescence imaging system is using a collimated X-Ray source and with a spectroscopic detector that can make an image of sulphur and sodium across wood chips or in individual fibers. The technique allows for the samples (chips and fiber material) with different properties can be taken at different times and controlled with micro X-ray technology while the sample is scanned to make an image of the content of the substances of interest.