• CIQRCodeGenerator Core Image Filter Reference


    https://developer.apple.com/library/prerelease/content/documentation/GraphicsImaging/Reference/CoreImageFilterReference/index.html#//apple_ref/doc/filter/ci/CIQRCodeGenerator

    Generates a Quick Response code (two-dimensional barcode) from input data.

    Localized Display Name

    CIQRCodeGenerator

    Parameters

    inputMessage

    The data to be encoded as a QR code. An NSData object whose display name is Message.

    inputCorrectionLevel

    A single letter specifying the error correction format. An NSString object whose display name is CorrectionLevel.

    Default value: M

    Discussion

    Generates an output image representing the input data according to the ISO/IEC 18004:2006 standard. The width and height of each module (square dot) of the code in the output image is one point. To create a QR code from a string or URL, convert it to an NSData object using the NSISOLatin1StringEncoding string encoding.

    The inputCorrectionLevel parameter controls the amount of additional data encoded in the output image to provide error correction. Higher levels of error correction result in larger output images but allow larger areas of the code to be damaged or obscured without. There are four possible correction modes (with corresponding error resilience levels):

    • L: 7%

    • M: 15%

    • Q: 25%

    • H: 30%

     
  • 相关阅读:
    软工实践个人总结
    第02组 Beta版本演示
    第02组 Beta冲刺(5/5)
    第02组 Beta冲刺(4/5)
    第02组 Beta冲刺(3/5)
    第02组 Beta冲刺(2/5)
    第02组 Beta冲刺(1/5)
    第02组 Alpha事后诸葛亮
    第02组 Alpha冲刺(6/6)
    第02组 Alpha冲刺(5/6)
  • 原文地址:https://www.cnblogs.com/feng9exe/p/5994929.html
Copyright © 2020-2023  润新知