(self, data)
| 1766 | raise FormatError("gAMA chunk has incorrect length.") |
| 1767 | |
| 1768 | def _process_sBIT(self, data): |
| 1769 | self.sbit = data |
| 1770 | if ( |
| 1771 | self.colormap |
| 1772 | and len(data) != 3 |
| 1773 | or not self.colormap |
| 1774 | and len(data) != self.planes |
| 1775 | ): |
| 1776 | raise FormatError("sBIT chunk has incorrect length.") |
| 1777 | |
| 1778 | def _process_pHYs(self, data): |
| 1779 | # http://www.w3.org/TR/PNG/#11pHYs |
nothing calls this directly
no test coverage detected