Improve image processing