Ë
    îì�i¼  ã                   óT   — d dgZ ddlmZ 	 ddlZd	d„Zd	d„Zy# e$ r	  ed«      ‚w xY w)
ÚimreadÚimsaveé   )Ú_converté    NzfImread could not be foundPlease refer to http://pypi.python.org/pypi/imread/ for further instructions.c                 óL   — t        j                  | «      }|�t        ||«      }|S )zhLoad an image from file.

    Parameters
    ----------
    fname : str
        Name of input file

    )Ú_imreadr   r   )ÚfnameÚdtypeÚims      ú†/var/www/ITT-ServiceAPI-Services/ITT-Document-Scan/mrzscanner/mrzenv/lib/python3.12/site-packages/skimage/io/_plugins/imread_plugin.pyr   r      s)   € ô 
�‰˜Ó	€BØÐÜ�b˜%Ó ˆØ€Ió    c                 ó2   — t        j                  | ||¬«      S )a0  Save an image to disk.

    Parameters
    ----------
    fname : str
        Name of destination file.
    arr : ndarray of uint8 or uint16
        Array (image) to save.
    format_str : str,optional
        Format to save as.

    Notes
    -----
    Currently, only 8-bit precision is supported.
    )Ú	formatstr)r   r   )r	   ÚarrÚ
format_strs      r   r   r      s   € ô  �>‰>˜% °
Ô;Ð;r   )N)Ú__all__Ú
util.dtyper   r   r   ÚImportErrorr   © r   r   ú<module>r      sG   ðØ�XÐ
€å "ðÛóô<øð/ ò Ù
ð	$óð ðús   Œ ™'