SFM: Max image size of <= 0 disables resizing