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
|
Binary file
|
|
Binary file
|
|
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 {
|