implemented pimage -anchor n/e/s/w/ne/nw/se/sw/c