decode method

  1. @override
Result decode(
  1. BinaryBitmap image, [
  2. Map<DecodeHintType, Object>? hints
])
override

Decode an image using the hints provided. Does not honor existing state.

@param image The pixel data to decode @param hints The hints to use, clearing the previous state. @return The contents of the image @throws NotFoundException Any errors which occurred

Implementation

@override
Result decode(BinaryBitmap image, [Map<DecodeHintType, Object>? hints]) {
  setHints(hints);
  return _decodeInternal(image);
}