-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
STY: Refactor _xobj_to_image (#2863)
* STY: Refactor _xobj_to_image * Create _apply_decode and move it to _xobj_image_helpers * Create _get_mode_and_invert_color and move it to _xobj_image_helpers * Create _apply_alpha as an inner function as it's calling _xobj_to_image This reduced the Cyclomatic Complexity from 44 to 19 * Comment formatting * Fix
- Loading branch information
1 parent
966e015
commit 6cfa0c4
Showing
3 changed files
with
137 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters