Source code for Ming Shape and Bitmap Image