def _scale(self, image):

        if image.GetWidth() != self._width or image.GetHeight()!= self._height:
            image.Rescale(self._width, self._height)

        return image

#### EOF ######################################################################
Extract common content from a pair of polynomials in ``K[x]``.
dataset/ETHPy150Open enthought/pyface/pyface/wx/image_list.py/ImageList._scale--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/polys/densetools.py/dup_extract