Merge branch 'master' into deterministic-zlib-settings

This commit is contained in:
Josh Holmer 2019-06-27 09:37:59 -04:00 committed by GitHub
commit 349a8e3bc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 0 deletions

View file

@ -70,3 +70,5 @@ name = "oxipng"
path = "src/lib.rs"
[profile.dev]
opt-level = 2
[profile.release]
lto = true

BIN
tests/files/issue-171.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 B

View file

@ -600,6 +600,7 @@ fn issue_159() {
}
#[test]
#[cfg(target_pointer_width = "64")]
fn issue_167() {
test_it_converts(
"tests/files/issue-167.png",
@ -610,3 +611,15 @@ fn issue_167() {
BitDepth::Eight,
);
}
#[test]
fn issue_171() {
test_it_converts(
"tests/files/issue-171.png",
None,
ColorType::Grayscale,
BitDepth::Eight,
ColorType::Grayscale,
BitDepth::Eight,
);
}