Size, 160–1024 px
Use when: You need a raster PNG at a known pixel width. The slider moves in steps of 32 and starts at 320.
Trade-offs: A larger PNG is a bigger file. SVG stays sharp when a layout scales it; the PNG does not.
Margin, 0–8 modules
Use when: Use 4 modules for print. That is the page default and the four-module quiet zone DENSO WAVE requires on every side.
Trade-offs: 0 is allowed and this decoder still read a high-contrast sample, but a crop or a patterned background can make that file fail. 8 adds empty space.
Error correction L, M, Q, or H
Use when: Start at M. Move to Q or H when the print may be scratched or partly covered. Use L only for a clean surface when you need the smallest symbol.
Trade-offs: The package documents about 7%, 15%, 25%, and 30% recovery for L, M, Q, and H. A higher level makes the same text use more modules.
Foreground and background colors
Use when: Keep modules dark and the background light, as in #171313 on #ffffff.
Trade-offs: #c4c4c4 on #ffffff still downloads, and jsQR could not read that pair. Inverted or pale pairs are not blocked by the form.
Final URL versus a redirect
Use when: Encode the final HTTPS URL when the address itself should stay in the image. Encode a redirect only when you control that redirect and can change its target later.
Trade-offs: A Kitly short link answers with a 302, but this site has no edit or expiry control. Disabling a Kitly short link returns 410. It does not point the old image at a new page. Reprint a QR code to change a final URL.