mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 19:52:50 +08:00
Throw a more descriptive exception when pixelformat is unsupported.
This commit is contained in:
@@ -65,7 +65,7 @@ namespace openalprnet {
|
|||||||
channels = 4;
|
channels = 4;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
throw gcnew NotImplementedException();
|
throw gcnew NotSupportedException(bitmap->PixelFormat.ToString());
|
||||||
}
|
}
|
||||||
|
|
||||||
BitmapData^ bitmapData = bitmap->LockBits(
|
BitmapData^ bitmapData = bitmap->LockBits(
|
||||||
|
Reference in New Issue
Block a user