(img, bits_to_keep, **__)
| 149 | |
| 150 | |
| 151 | def posterize(img, bits_to_keep, **__): |
| 152 | if bits_to_keep >= 8: |
| 153 | return img |
| 154 | return ImageOps.posterize(img, bits_to_keep) |
| 155 | |
| 156 | |
| 157 | def contrast(img, factor, **__): |
nothing calls this directly
no outgoing calls
no test coverage detected