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

Crash after optimization is done #89

Closed
daniel-abramov opened this issue Oct 11, 2017 · 2 comments
Closed

Crash after optimization is done #89

daniel-abramov opened this issue Oct 11, 2017 · 2 comments
Assignees
Labels
I-High Issues that are breaking core functionality for a small number of users T-Bug Some piece of the software is not working as intended T-Needs Tests

Comments

@daniel-abramov
Copy link

Processing: result.png
    16x16 pixels, PNG format
    4x8 bits/pixel, RGBA
    IDAT size = 63 bytes
    File size = 120 bytes
Reducing image to 1x1 bits/pixel, Grayscale
Trying: 8 combinations
Found better combination:
    zc = 9  zm = 9  zs = 0  f = 0        27 bytes
    IDAT size = 27 bytes (36 bytes decrease)
    file size = 84 bytes (36 bytes = 30.00% decrease)
The resulting image is corrupted and will not be outputted.
This is a bug! Please report it at https://github.com/shssoichiro/oxipng/issues
thread 'main' panicked at 'end', src/main.rs:78:4
note: Run with `RUST_BACKTRACE=1` for a backtrace.

The test image is attached. Let me know if you need more information.

result

@shssoichiro
Copy link
Owner

Thanks for reporting this! I will take a look and get this fixed soon.

@shssoichiro shssoichiro added I-High Issues that are breaking core functionality for a small number of users T-Bug Some piece of the software is not working as intended T-Needs Tests labels Oct 11, 2017
@shssoichiro shssoichiro self-assigned this Nov 20, 2017
@shssoichiro
Copy link
Owner

Fixed in 0.18.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I-High Issues that are breaking core functionality for a small number of users T-Bug Some piece of the software is not working as intended T-Needs Tests
Projects
None yet
Development

No branches or pull requests

2 participants