Skip to content

Commit

Permalink
Add regression test for image-rs#340
Browse files Browse the repository at this point in the history
  • Loading branch information
HeroicKatora committed Mar 1, 2022
1 parent 5d7501d commit 8893a99
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/bugfixes/License.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[license-file]
comment = """Most images adapted from pngsuite with binary modification to reproduce
specific faults.
"""

[[files]]
file = "tests/bugfixes/gama-srgb-order-issue#304.png"
SPDX-FileCopyrightText = "2013 zaimoku_woodpile <https://www.flickr.com/photos/11250735@N07/>"
SPDX-License-Identifier = "CC-BY-2.0"
Comment = """
Taken from: <https://www.flickr.com/photos/11250735@N07/8561945042>
with Modifications: Cropped, resized the image
Taken from: <https://raw.githubusercontent.com/slint-ui/slint/v0.1.6/examples/imagefilter/cat_preview_round.png>
"""
Binary file added tests/bugfixes/gama-srgb-order-issue#304.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions tests/results.txt
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ tests/pngsuite-extra/basi3p01_2.png: 2570215674
tests/pngsuite-extra/basi3p02_2.png: 419215269
tests/bugfixes/invalid_palette_index.png: 3040120786
tests/bugfixes/acid2.png: 2380843583
tests/bugfixes/gama-srgb-order-issue#304.png: 275287206
tests/bugfixes/issue#403.png: 2961280239
tests/bugfixes/issue#202.png: 29900969
tests/bugfixes/large-text-chunks-issue#337.png: 1916321797
Expand Down
1 change: 1 addition & 0 deletions tests/results_identity.txt
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ tests/pngsuite-extra/basi3p01_2.png: 3071936103
tests/pngsuite-extra/basi3p02_2.png: 1136045771
tests/bugfixes/acid2.png: 2051796287
tests/bugfixes/invalid_palette_index.png: 64128641
tests/bugfixes/gama-srgb-order-issue#304.png: 275287206
tests/bugfixes/issue#403.png: 2499474695
tests/bugfixes/issue#202.png: 29900969
tests/bugfixes/large-text-chunks-issue#337.png: 3071936103
Expand Down

0 comments on commit 8893a99

Please # to comment.