CREATE EXTENSION pgzint;

-- seemed to be best way to make sure we get a valid PNG back, without having to deal with
-- the differing output of the PNG data depending on options/versions
SELECT substring(encode(bc_pdf417('test'), 'hex') for 16) = '89504e470d0a1a0a';
SELECT substring(encode(bc_qrcode('test'), 'hex') for 16) = '89504e470d0a1a0a';
SELECT substring(encode(bc_code128('test'), 'hex') for 16) = '89504e470d0a1a0a';

SELECT getzintsymbolid('BARCODE_PDF417');
SELECT getzintsymbolconstant(55);
