We report and demonstrate a reconfigurable photonic anamorphic stretch transform to realize time-bandwidth product (TBP) compression for microwave signals. A time-spectrum convolution system is employed to provide an ultra-high nonlinear dispersion up to several nanoseconds per gigahertz, which is required for processing nanosecond-long microwave signals. The group delay of the system can be engineered easily by programming a WaveShaper. Based on the proposed scheme, the TBP of a double pulse microwave signal is compressed by 1.9 times. Our proposal can provide a more efficient way to sample, digitize and store high-speed microwave signals, opening up entirely new perspectives for generation of many critical microwave signal processing modules.