Return the interpolation method the image uses when resizing. One of 'auto', 'antialiased', 'nearest', 'bilinear', 'bicubic', 'spline16', 'spline36', 'hanning', 'hamming', 'hermite', 'kaiser', 'quadric', 'catrom', 'gaussian', 'bessel', 'mitchell', 'sinc', 'lanczos',
(self)
| 723 | self.set_data(A) |
| 724 | |
| 725 | def get_interpolation(self): |
| 726 | """ |
| 727 | Return the interpolation method the image uses when resizing. |
| 728 | |
| 729 | One of 'auto', 'antialiased', 'nearest', 'bilinear', 'bicubic', |
| 730 | 'spline16', 'spline36', 'hanning', 'hamming', 'hermite', 'kaiser', |
| 731 | 'quadric', 'catrom', 'gaussian', 'bessel', 'mitchell', 'sinc', 'lanczos', |
| 732 | or 'none'. |
| 733 | """ |
| 734 | return self._interpolation |
| 735 | |
| 736 | def set_interpolation(self, s): |
| 737 | """ |
no outgoing calls
no test coverage detected