Add function: serrateImage.

Support adding sawteeth to the boundary of an image.