def coordinate_convert(x1,y1,x2,y2,max_of_x,max_of_y):
    """
    Convert the coordinate in the 1920 representation to the pdfminer representation.
    :param x1: Xmin of the 1920 representation.
    :param y1: Ymin of the 1920 representation.
    :param x2: Xmax of the 1920 representation.
    :param y2: Ymax of the 1920 representation.
    :param max_of_x: Maximum value of X in the pdfminer representation.
    :param max_of_y: Maximum value of Y in the pdfminer representation.
    :return: (Xmin,Ymin,Xmax,Ymax) in the pdfminer representation.
    """
    x_range = 1920*max_of_x/max_of_y
    xmin = x1/x_range*max_of_x
    xmax = x2/x_range*max_of_x
    ymin = (1920-y2)*max_of_y/1920
    ymax = (1920-y1)*max_of_y/1920
    return (xmin,ymin,xmax,ymax)