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.
@@ -35,9 +35,11 @@ enum class ErrorCorrectionLevel {
35
35
  * Options for QR code generation
36
36
  */
37
37
  struct QROptions {
38
- // Output image dimensions
39
- int width = 300;
40
- int height = 300;
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 {