operations
rotate(image-id,dir,angle) segment(image-id, predicate) edit(image-id, edit-op)