zorantica / plsql-qr-code

Oracle PL/SQL Package and APEX plugin for QR Code Generation
MIT License
53 stars 20 forks source link

insert into database as null #3

Closed nesmasoliman closed 3 years ago

nesmasoliman commented 3 years ago

hey zorantica,

Thank you for the amazing plugin . I applied it on apex and was trying to save the QR code as an image but it saves into the database as null. I tried once as html table and another time as the bmp image... any tips on that ?

zorantica commented 3 years ago

Hi!

This plugin is read-only and it only displays rendered QR code images on the page. It does not store images back in the database.

But You can easily achieve this using the QR Code database package which comes together with a plugin. There is a function which returns an image as BLOB content and You can save this BLOB in the desired database table and column. The function is named "f_qr_as_bmp" and it is easy to use. It uses similar parameters as for APEX plugin - data to be encoded, error correction level and (optionally) margins or not..

On Wed, Dec 9, 2020 at 10:39 AM ns14730 notifications@github.com wrote:

hey zorantica,

Thank you for the amazing plugin . I applied it on apex and was trying to save the QR code as an image but it saves into the database as null. I tried once as html table and another time as the bmp image... any tips on that ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/zorantica/plsql-qr-code/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIAUJSWW2BMES5G44HFBY5TST5AVZANCNFSM4UTG5M4Q .