All versions since 0.0.3
0.0.3
Patch Changes
- Replaced the
pngjsdependency with a built-in PNG encoder and decoder, so@qrcodesdk/nodeno longer has runtime dependencies. PNG center image sources are limited to 16 MiB and 16,777,216 pixels. - Updated dependencies
- Updated dependencies
- Updated dependencies
- @qrcodesdk/core@0.0.3
0.0.4
Patch Changes
- Refreshed the package READMEs with clearer option examples and consolidated links to the documentation guides.
- Fixed the
extra-roundedfinder styling. The finder ring now keeps straight edges and a consistent one-module thickness around its corners in SVG, canvas, image, and PNG output. - Updated dependencies
- Updated dependencies
- Updated dependencies
- @qrcodesdk/core@0.0.4
0.0.5 Latest
Patch Changes
-
21107ab: Add
QRCodeWebPRenderer,QRCodeGIFRenderer, andQRCodeJPEGRenderer, which render lossless WebP, single-frame GIF, and baseline JPEG bytes as aBuffer. They accept the same style andrasterCenterImage()options asQRCodePNGRenderer, exported asQRCodeRasterRendererOptions, and share its 67,108,864-pixel output limit.GIF output supports 256 colors and binary transparency. Pixels with an alpha value below
transparency.threshold(default128) become transparent. JPEG output takes aqualityfrom 1 to 100 (default92) and blends transparent pixels ontotransparency.matte(default#ffffff). -
2fd183e: Update PNG rendering for the flat role-aware matrix and composable styles, including custom paths and independent alignment patterns. Cache rasterized shape paths across renders and combine coverage by color layer to reduce repeated work and avoid seams between adjacent pieces.
Create center images with
rasterCenterImage(source, layout)and pass the result ascenterImage, replacing inline source and layout objects. The factory accepts PNG bytes as aUint8Arrayand validates and decodes the image once for reuse by every raster renderer. ReplaceQRCodePNGCenterImageOptionswithQRCodeRasterCenterImage.Reject PNG output larger than 67,108,864 pixels before allocating its pixel buffers. Rely on declared option types instead of rejecting unknown option keys at runtime.
-
Updated dependencies [15fe5c3]
-
Updated dependencies [2fd183e]
-
Updated dependencies [21107ab]
- @qrcodesdk/core@0.0.5
Support QRCodeSDK
If you find QRCodeSDK useful, please consider sponsoring the project!