Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix jpeg cropping edge case #127

Merged
merged 2 commits into from
May 6, 2021
Merged

Fix jpeg cropping edge case #127

merged 2 commits into from
May 6, 2021

Commits on Apr 29, 2021

  1. Fix jpeg cropping edge case

    TurboJpeg expects cropping regions to be multiples of the MCU size. In
    some cases it was possible that the cropping region was larger than the
    image due to rounding artifacts (less than one MCU). This MR checks if
    the resulting region would exceed the image and makes it one MCU width
    and/or height smaller if needed.
    bitzl committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    3f947cf View commit details
    Browse the repository at this point in the history

Commits on May 6, 2021

  1. Simplify MCU adjustment

    jbaiter committed May 6, 2021
    Configuration menu
    Copy the full SHA
    1d43cb1 View commit details
    Browse the repository at this point in the history