Configurations of magnetic domain structure of gadolinium-cobalt amorphous films with a perpendicular anisotropy under the effect of spatially nonuniform magnetic stray fields produced by various miniature sources have been studied. The domain structure of the amorphous films has been shown to qualitatively and quantitatively reflect the symmetry and magnitude of the normal component of the nonuniform magnetic fields and, similar to iron garnets, can be used for topographying stray fields. New features of the domain structure have been found during the visualization of small-scale sources of stray fields, on the one hand, and fields characterized by a small gradient, on the other hand.