Skip to main content

decode_barcode_image

Function decode_barcode_image 

pub fn decode_barcode_image(
    image_path: &Path,
    limits: MediaLimits,
) -> Result<Vec<BarcodeResult>, MediaError>
Expand description

Re-exports the media runtime helpers when the media feature is enabled.

§Examples

ⓘ
use pharos_native::media::*;
  • crate::runtime for runtime flows that consume media helpers. Decodes every barcode in one bounded image file.

§Parameters

§Returns

Returns the successful value produced by crate::decode_barcode_image or an error when the operation fails.

§Errors

Returns an error value when crate::decode_barcode_image cannot complete successfully.

§Examples

ⓘ
let _result = pharos_runtime_media::decode_barcode_image(todo!(), todo!());
  • [crate] for adjacent helpers that share the same runtime surface.