pdf_barcode_decoder 0.0.2 copy "pdf_barcode_decoder: ^0.0.2" to clipboard
pdf_barcode_decoder: ^0.0.2 copied to clipboard

A fast, lightweight Flutter plugin to decode barcodes (QR, PDF417, Aztec, DataMatrix, Code128, etc.) directly from PDF files and bytes.

Changelog #

0.0.2 #

  • iOS Fixes:
    • Fixed iOS native PDF rendering by replacing PDFPage.thumbnail() with UIGraphicsImageRenderer / CoreGraphics rasterization for full-fidelity decoding at target DPI.
    • Corrected Y-axis coordinate system transformation and handled non-zero mediaBox origin offsets during rendering.
    • Fixed MethodChannel decodePdf method handling in SwiftPdfBarcodeDecoderPlugin to resolve runtime casting exceptions.
    • Fixed Vision barcode scanner bounding box coordinate calculations against actual pixel dimensions.
    • Removed redundant plugin class implementation.
  • Example Application:
    • Configured iOS Podfile and project settings for the example runner.

0.0.1 #

  • Initial release of pdf_barcode_decoder.
  • Decode 1D and 2D barcodes directly from PDF files (File), in-memory bytes (Uint8List), and Flutter app assets (rootBundle).
  • Native PDF rendering using Android PdfRenderer and iOS PDFKit.
  • Native barcode scanning using ZXing Core on Android and Apple Vision Framework on iOS.
  • Zero Google Play Services / ML Kit dependencies.
  • Multi-barcode detection per page with IoU-based deduplication.
  • Configurable rendering resolution (DPI), page limits (maxPages, firstPageOnly), early stopping (stopAfterFirst), and format filters (BarcodeFormat).
  • Comprehensive test suite and example application.
3
likes
150
points
199
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A fast, lightweight Flutter plugin to decode barcodes (QR, PDF417, Aztec, DataMatrix, Code128, etc.) directly from PDF files and bytes.

Repository (GitHub)
View/report issues

Topics

#pdf #barcode #qr-code #barcode-scanner #decoder

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on pdf_barcode_decoder

Packages that implement pdf_barcode_decoder