modify image processing