finalize the image resizer