run imageOptim and imageAlpha