increase gd resampled image quality
merged _config from division master