added imshift, imaddpts, ByteSize