new file
zeros are now cleared before padding.  image are padded using "replicate" logic