imagenie.scale ============== .. py:module:: imagenie.scale Functions --------- .. autoapisummary:: imagenie.scale.scale Module Contents --------------- .. py:function:: scale(image, N=None) Scale an image file by a factor of N. :param image: The input image to be scaled. Must be a NumPy array. :type image: np.ndarray :param N: An positive float specifying the scaling factor. :type N: float :returns: The scaled image that is represented as np array. :rtype: np array .. rubric:: Examples Scale the image 2 times larger. >>> img = scale(image, 2)