fastqr 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CMakeLists.txt +1 -1
- data/VERSION +1 -1
- data/bindings/nodejs/package.json +8 -1
- data/bindings/ruby/lib/fastqr/version.rb +1 -1
- data/bindings/ruby/prebuilt/macos-arm64/bin/fastqr +0 -0
- data/bindings/ruby/prebuilt/macos-arm64/include/fastqr.h +5 -3
- data/bindings/ruby/prebuilt/macos-arm64/include/stb_image.h +7988 -0
- data/bindings/ruby/prebuilt/macos-arm64/include/stb_image_write.h +1724 -0
- data/bindings/ruby/prebuilt/macos-arm64/lib/libfastqr.dylib +0 -0
- data/bindings/ruby/prebuilt/macos-arm64.tar.gz +0 -0
- data/bindings/ruby/prebuilt/macos-x86_64/bin/fastqr +0 -0
- data/bindings/ruby/prebuilt/macos-x86_64/include/fastqr.h +5 -3
- data/bindings/ruby/prebuilt/macos-x86_64/include/stb_image.h +7988 -0
- data/bindings/ruby/prebuilt/macos-x86_64/include/stb_image_write.h +1724 -0
- data/bindings/ruby/prebuilt/macos-x86_64/lib/libfastqr.dylib +0 -0
- data/bindings/ruby/prebuilt/macos-x86_64.tar.gz +0 -0
- data/scripts/update-version.sh +1 -1
- data/src/fastqr.cpp +1 -1
- metadata +5 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1ec4ef1b7b236292fd890d42f0793b9d86d899b48eb9fd006cb7b3cb8a9d10b2
|
|
4
|
+
data.tar.gz: a29d272dcd7338eec7a104cd9dccb36a798faf11c878b766ae7665abc6dddcc3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 93870ff403f744c28c7002f4475672ad97be71f5b82c596b8adf024f8275926146cdff00df86ec56c588063e66933bc6959e98048e744d6c3dfe5ae3a718f56c
|
|
7
|
+
data.tar.gz: 555944b886e5ceeaf444ce0f5c16b3f5672164fe153ce71109d5f5dfe1498ee1cdab36b00f194903cfd9b33506eb1ff96d70a6cbfa6cf9f851f1a95f6958487a
|
data/CMakeLists.txt
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.4
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fastqr",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Fast QR code generator with UTF-8 support, custom colors, logo embedding, and precise size control",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -30,6 +30,13 @@
|
|
|
30
30
|
"url": "https://github.com/tranhuucanh/fastqr/issues"
|
|
31
31
|
},
|
|
32
32
|
"homepage": "https://github.com/tranhuucanh/fastqr#readme",
|
|
33
|
+
"files": [
|
|
34
|
+
"index.js",
|
|
35
|
+
"index.d.ts",
|
|
36
|
+
"lib/",
|
|
37
|
+
"prebuilt/",
|
|
38
|
+
"README.md"
|
|
39
|
+
],
|
|
33
40
|
"dependencies": {},
|
|
34
41
|
"devDependencies": {},
|
|
35
42
|
"engines": {
|
|
Binary file
|
|
@@ -35,9 +35,11 @@ enum class ErrorCorrectionLevel {
|
|
|
35
35
|
* Options for QR code generation
|
|
36
36
|
*/
|
|
37
37
|
struct QROptions {
|
|
38
|
-
// Output image
|
|
39
|
-
int
|
|
40
|
-
|
|
38
|
+
// Output image size (QR codes are square)
|
|
39
|
+
int size = 300;
|
|
40
|
+
|
|
41
|
+
// Optimize size - round up to nearest integer multiple for best performance
|
|
42
|
+
bool optimize_size = false;
|
|
41
43
|
|
|
42
44
|
// QR code colors (RGB)
|
|
43
45
|
struct Color {
|