working out img processing interface