finish image processing