image operations with small example