I am extracting a barcode from a pdf using FPDF than converting it to an image using pdf.js
The barcode is readable by other bar code scanner tools. however quaggajs is not able to detect it.
I am using the basic nodejs example which works with other barcodes.
What could be wrong with a barcode found in a pdf and converted to an image?

