1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

What are the 8 rules for 8 Mask patterns for QR code?

Discussion in 'Programming/Internet' started by Shobeh, Aug 2, 2020.

  1. Shobeh

    Shobeh Guest

    I was making some QR code manually and I'm stuck in the Data Masking part of making the QR code.

    The section where I became confused is underlined as shown in the picture below, saying that there are 8 rules for each masking pattern for QR code.


    The website where I read the Data Making pattern is here:


    The rules to create the first and second masking pattern for a QR code has been stated, namely:

    For mask pattern #1, every even - numbered row in the QR matrix is masked.

    For mask pattern #2, every third column in the QR matrix is masked.

    The third to eighth masking patterns weren't stated and I wasn't able to find it when googled. The rules are applicable to particular masking pattern and there were eight rules, so there are eight masking pattern to be created.

    My question is:

    What are the 8 rules for 8 Mask patterns for QR code?

    Thank you for helping me out!

    Login To add answer/comment

Share This Page