Two-dimensional X-ray diffraction (XRD2) pattern can be described by the diffraction intensity distribution in both 2θ and γ-directions. The XRD2 images can be reduced to two kinds of profiles: 2θ-profile and γ-profile. The 2θ-profile can be evaluated for phase identification, crystal structure refinement, and many applications with many existing algorithms and software. In order to evaluate the materials structure associated with the intensity distribution along γ-angle, either the XRD2 pattern should be directly analyzed or the γ-profile can be generated by 2θ-integration. A γ-profile contains information on texture, stress, crystal size, and crystal orientation relations. This paper introduces the concept and fundamental algorithms for stress, texture, and crystal size analysis by the γ-profile analysis.