Apply correction with some float. gamma=1 is a no-op.
(self, gamma)
| 13622 | return bytes(ret) |
| 13623 | |
| 13624 | def gamma_with(self, gamma): |
| 13625 | """Apply correction with some float. |
| 13626 | gamma=1 is a no-op.""" |
| 13627 | if not mupdf.fz_pixmap_colorspace( self.this): |
| 13628 | message_warning("colorspace invalid for function") |
| 13629 | return |
| 13630 | mupdf.fz_gamma_pixmap( self.this, gamma) |
| 13631 | |
| 13632 | @property |
| 13633 | def h(self): |
nothing calls this directly
no test coverage detected