public int ByteDepth()
 {
     return(UnsafeNativeMethods.MpImageFrameByteDepth(ptr));
 }