Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: lincolnloop/python-qrcode
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v8.0
Choose a base ref
...
head repository: lincolnloop/python-qrcode
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v8.2
Choose a head ref
  • 15 commits
  • 14 files changed
  • 5 contributors

Commits on Sep 2, 2024

  1. Optimize QRColorMask apply_mask method for enhanced performance

    This commit introduces optimizations to the apply_mask method in the QRColorMask class to improve performance. Changes include:
    
    1. Replacing getpixel and putpixel with direct pixel manipulation using the load() method, which speeds up the process.
    2. Implementing a caching mechanism to reuse color transformations for identical pixel colors, reducing redundant calculations.
    3. Adding conditions to skip processing for background color pixels to reduce computational load.
    
    These optimizations have significantly reduced the method's execution time. In some experiments, these changes have resulted in performance improvements of over ten times compared to the original method, especially for larger images.
    smalyu authored Sep 2, 2024
    Configuration menu
    Copy the full SHA
    820eacf View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

  1. Configuration menu
    Copy the full SHA
    c4b9bd8 View commit details
    Browse the repository at this point in the history
  2. Fix cache-related bug in apply_mask for masks with position-dependent…

    … colors
    
    - Resolved cache issues in `apply_mask` by setting `use_cache` to `False` by default, preventing errors in masks where pixel position affects color (e.g., RadialGradientColorMask).
    - Enabled `use_cache` for `SolidFillColorMask`, as pixel position is not relevant, preserving performance where applicable.
    smalyu authored Oct 4, 2024
    Configuration menu
    Copy the full SHA
    8c8632a View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. Configuration menu
    Copy the full SHA
    4c66934 View commit details
    Browse the repository at this point in the history
  2. Update docs.

    btimby committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    42ee50e View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2024

  1. Add support for Python 3.13

    hugovk committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    dc4831b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7cb996d View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2025

  1. Merge pull request #386 from hugovk/main

    Add support for Python 3.13
    maribedran authored Apr 2, 2025
    Configuration menu
    Copy the full SHA
    10da1ba View commit details
    Browse the repository at this point in the history
  2. Preparing release 8.1

    maribedran committed Apr 2, 2025
    Configuration menu
    Copy the full SHA
    5dcf89c View commit details
    Browse the repository at this point in the history
  3. Release 8.1

    maribedran committed Apr 2, 2025
    Configuration menu
    Copy the full SHA
    cd3cd7b View commit details
    Browse the repository at this point in the history

Commits on May 1, 2025

  1. Merge pull request #372 from smalyu/patch-1

    Optimize QRColorMask apply_mask method for enhanced performance
    maribedran authored May 1, 2025
    Configuration menu
    Copy the full SHA
    c5e3f01 View commit details
    Browse the repository at this point in the history
  2. Ruff formatting

    maribedran committed May 1, 2025
    Configuration menu
    Copy the full SHA
    2ced7b4 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #383 from btimby/spelling

    Allow correct spelling of parameters.
    maribedran authored May 1, 2025
    Configuration menu
    Copy the full SHA
    d2674f8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b593a2b View commit details
    Browse the repository at this point in the history
  5. Preparing release 8.2

    maribedran committed May 1, 2025
    Configuration menu
    Copy the full SHA
    3704f57 View commit details
    Browse the repository at this point in the history
Loading