title: Error with ZXING library reading QR Barcodes in PDF
body: <p>I'm using ZXING Library, with this code I can get the images in my PDF, concretly QR Barcodes, but when I try to get the information inside ZXING library... I can't find the Barcodes.</p>
  
  <p>But if I take the same barcode from the file like <code>barocode.png</code>, works perfectly.</p>
  
  <pre><code>image = ImageIO.read(new File("C:\\Workarea\\testBarcode.png"));
  
  buffered = (BufferedImage) image;
  </code></pre>
  
  <p>How I can fix that? is internal error of the library ZXING? I have to use another implementation?</p>
  
  <p>I was testing with PDFBOX too, and I had the same error.</p>
  
  <p>Anyone can help me?</p>
  
  <pre><code>public void renderImage(ImageRenderInfo renderInfo) {
  
      BufferedImage buffered = null;          
  
      try {
          PdfImageObject image1 = renderInfo.getImage();
  
          LuminanceSource source;
  
          byte [] imageInByte = image1.getImageAsBytes();
  
          InputStream in = new ByteArrayInputStream(imageInByte);
          BufferedImage bImageFromConvert = ImageIO.read(in);
  
          source = new BufferedImageLuminanceSource(bImageFromConvert);
  
          BinaryBitmap bitmap = new BinaryBitmap(new HybridBinarizer(source));
  
          Result result = new MultiFormatReader().decode(bitmap);
  
          ParsedResult parsedResult = ResultParser.parseResult(result);
  
          System.out.println(" (format: " + result.getBarcodeFormat() + ", type: " +
          parsedResult.getType() + "):\nRaw result:\n" + result.getText() + "\nParsed result:\n" +
          parsedResult.getDisplayResult());
          System.out.println("Found " + result.getResultPoints().length + " result points.");
  
          for (int i = 0; i &lt; result.getResultPoints().length; i++) {
              ResultPoint rp = result.getResultPoints()[i];
              if (rp != null) {
                  System.out.println(" Point " + i + ": (" + rp.getX() + ',' + rp.getY() + ')');
              }
          }
      } catch (NotFoundException ignored) {
          System.out.println("No barcode found!");
      } catch (IOException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
      }
  }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/uxrEX.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/K79Fs.png" alt="enter image description here"></p>