(self, fallback=True)
return matrix
Return the matrix to convert mm to pixel space. If no matrix
        information is available and `fallback` is set to `True` then a matrix
        will be calculated from the size of the image.
Return the matrix to convert mm to pixel space. If no matrix
        information is available and `fallback` is set to `True` then a matrix
        will be calculated from the size of the image.
Return the matrix to convert mm to pixel space . If no matrix information is available and fallback is set to True then a matrix will be calculated from the size of the image .
def mm_to_px(self, fallback=True):
        """Return the matrix to convert mm to pixel space. If no matrix
        information is available and `fallback` is set to `True` then a matrix
        will be calculated from the size of the image."""
        matrix = self.px_to_mm(fallback)
        if matrix is not None:
            matrix.invert()
        return matrix
def mm_to_px ( self , fallback = True ) : matrix = self . px_to_mm ( fallback ) if matrix is not None : matrix . invert ( ) return matrix