Wrote core image processing