public int Width()
 {
     return(UnsafeNativeMethods.MpImageFrameWidth(ptr));
 }