optimize image processor when gdi can be skipped