The two main source modules and a makefile for the program, stretch_swath, are available through the links below.
stretch_swath
Besides the above source code, you will also need some of the Netpbm libraries and include files.