Allow 4-digit dimension pgm output.
Remove duplicate DIFFUSE_PYTHON cmake line and set default OFF.