Skip to content

Commit

Permalink
Add test for GIF P-mode to JPEG
Browse files Browse the repository at this point in the history
  • Loading branch information
agschwender committed Oct 22, 2017
1 parent 9c9b714 commit cdd2762
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pilbox/test/data/test-p-mode.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions pilbox/test/image_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ def get_image_resize_cases():
cases.append(_criteria_to_resize_case(
"test space.jpg", _get_simple_criteria_combinations()[0]))

cases.append(_criteria_to_resize_case(
"test-p-mode.gif", dict(width=100, height=100, format='jpeg', mode='crop')))

for criteria in _get_advanced_criteria_combinations():
cases.append(_criteria_to_resize_case("test-advanced.jpg", criteria))

Expand Down

0 comments on commit cdd2762

Please sign in to comment.