
    9i                     Z    S S/r SSKJr   SSKrS	S jrS	S jrg! \ a	    \" S5      ef = f)
imreadimsave   )_convert    NzfImread could not be foundPlease refer to http://pypi.python.org/pypi/imread/ for further instructions.c                 N    [         R                  " U 5      nUb  [        X!5      nU$ )zTLoad an image from file.

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

)_imreadr   r   )fnamedtypeims      a/var/www/html/land-doc-ocr/venv/lib/python3.13/site-packages/skimage/io/_plugins/imread_plugin.pyr   r      s'     
	Bb I    c                 ,    [         R                  " XUS9$ )a   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    *