title: QRCode encoding and decoding problem
body: <p>I want to split a file ( a docx file) and use the individual fragments of the file to encode a QRCode such that when the qrcodes are read in sequence, it reproduces the original file.</p>
  
  <p>I was able to split the file and create a bunch of QRCodes but when attempted to recreate the file, the Decoder throws the following Error Message.</p>
  
  <p>"Invalid number of finder pattern detected"</p>
  
  <p>I am using <a href="http://www.codeproject.com/KB/cs/qrcode.aspx" rel="nofollow">http://www.codeproject.com/KB/cs/qrcode.aspx</a> library.</p>
  
  <p>My encoder code</p>
  
  <p>private List Encode(String content, Encoding encoding, int 
  System.Drawing.Color qrCodeBackgroundColor,
  QRCodeCapacity,System.Drawing.Color qrCodeBackgroundColor,System.Drawing.Color </p>
  
  <p>qrCodeForegroundColor,int qrCodeScale, int NoOfQRcodes)</p>
  
  <p>{</p>
  
  <pre><code>      List&lt;Bitmap&gt; _qrcodesImages = new List&lt;Bitmap&gt;();
  
        byte[] _filebytearray = encoding.GetBytes(content);
  
        for (int k = 0,l=0; k &lt; NoOfQRcodes; k++)
        {
            byte[] _tempByteArray = _filebytearray.Skip(l).Take(QRCodeCapacity).ToArray();
            bool[][] matrix = calQrcode(_tempByteArray);
  
            SolidBrush brush = new SolidBrush(qrCodeBackgroundColor);
            Bitmap image = new Bitmap((matrix.Length * qrCodeScale) + 1, (matrix.Length * qrCodeScale) + 1);
            Graphics g = Graphics.FromImage(image);
            g.FillRectangle(brush, new Rectangle(0, 0, image.Width, image.Height));
            brush.Color = qrCodeForegroundColor;
            for (int i = 0; i &lt; matrix.Length; i++)
            {
                for (int j = 0; j &lt; matrix.Length; j++)
                {
                    if (matrix[j][i])
                    {
                        g.FillRectangle(brush, j * qrCodeScale, i * qrCodeScale, qrCodeScale, qrCodeScale);
                    }
                }
            }
            _qrcodesImages.Add(image);
            l += QRCodeCapacity;
        }
  
        return _qrcodesImages;
    }
  </code></pre>