GithubHelp home page GithubHelp logo

antonscheffer / as_barcode Goto Github PK

View Code? Open in Web Editor NEW
25.0 6.0 8.0 400 KB

A PL/SQL package to create a QR-code, Aztec or datamatrix barcode.

License: MIT License

PLSQL 100.00%
aztec aztec-code data-matrix qrcode qrcode-generator

as_barcode's Introduction

as_barcode

No documentation available
See this new APEX demo

Supports QR-code, Aztec, data matrix, EAN-8, EAN-13, UPC-A, code39, code128 and Interleaved 2 of 5 (ITF)

as_barcode's People

Contributors

antonscheffer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

as_barcode's Issues

calculated length of chunk IDAT too high by 4 bytes

Hi Anton,

awesome tool, thanks alot for putting it together !

Small note: I think the logic to calc the length of the chunk IDAT has a small typo, instead of "+ 4" it should read "- 4" (probably just a typo), i.e.

...
    return utl_raw.concat( '89504E470D0A1A0A' -- signature 
                         , '0000000D'
                         , t_ihdr
                         , crc32( t_ihdr )
                         , to_char( utl_raw.length( t_idat ) - 4, 'fm0XXXXXXX' ) 
                         , t_idat 
                         , crc32( t_idat ) 
                         , '0000000049454E44AE426082' -- IEND
                         );
...

As far as I can understand, the length of a chunk should only include the length of the data, not the chunk type, the length of the chunk or the CRC of the chunk (found this note here).

We stumbled across the issue because Oracle XML Publisher wouldn't render the PNG (while Oracle's BI Publisher would ;-)); after verifying the PNG file itself using pngcheck we found the issue.

thanks alot for looking into this!
Herbert

[Error] PLS-00201 (2398: 9): PLS-00201: identifier 'T_X2' must be declared

hi, thank for share , but body compile error with below,can you help ?
and can you please create qrcode sample plsql for us?

[Error] PLS-00201 (2398: 9): PLS-00201: identifier 'T_X2' must be declared
[Error] PLS-00201 (2403: 11): PLS-00201: identifier 'T_W2' must be declared
[Error] PLS-00201 (2405: 11): PLS-00201: identifier 'T_X1' must be declared
[Error] PLS-00201 (2406: 11): PLS-00201: identifier 'T_X2' must be declared
[Error] PLS-00201 (2407: 62): PLS-00201: identifier 'T_W2' must be declared
[Error] PLS-00201 (2412: 22): PLS-00201: identifier 'T_X1' must be declared
[Error] PLS-00201 (2413: 22): PLS-00201: identifier 'T_X2' must be declared
[Error] PLS-00201 (2414: 25): PLS-00201: identifier 'T_X1' must be declared
[Error] PLS-00201 (2415: 25): PLS-00201: identifier 'T_X2' must be declared
[Error] PLS-00201 (2416: 22): PLS-00201: identifier 'T_X1' must be declared

br,nolem

hi, this package can not create multibyte barcode

hi, i test your package after you update version , if we use single byte , qrcode is fine,
but i found if i use text with multi-byte language to create qrcode image ,ex:chinese
it will lost , and qrcode reader can not parse it .

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.