A method and a system to quantify gas in a thermal imaging device, said method comprising obtaining a gas-absorption-path-length image as a scene difference infrared image based on a gas infrared image and a scene background infrared image substantially depicting the same scene and generating a quantified scene difference infrared image based on said scene difference infrared image and a predefined gas-quantifying relation.