
    9i                     0    S SK Jr  S SK Jr  SS/rS rS rg)    )imread)imwriter   imsavec                     UR                   S   S;   a  SU;  a  SUS'   SnOUR                   S   S;   nU(       a  SU;  a  SUS'   [        X40 UD6$ )	a>  Load a tiff image to file.

Parameters
----------
fname : str or file
    File name or file-like object.
arr : ndarray
    The array to write.
kwargs : keyword pairs, optional
    Additional keyword arguments to pass through (see ``tifffile``'s
    ``imwrite`` function).

Notes
-----
Provided by the tifffile library [1]_, and supports many
advanced image types including multi-page and floating-point.

This implementation will set ``photometric='RGB'`` when writing if the first
or last axis of `arr` has length 3 or 4. To override this, explicitly
pass the ``photometric`` kwarg.

This implementation will set ``planarconfig='SEPARATE'`` when writing if the
first axis of arr has length 3 or 4. To override this, explicitly
specify the ``planarconfig`` kwarg.

References
----------
.. [1] https://pypi.org/project/tifffile/

r   )      planarconfigSEPARATETphotometricRGB)shapetifffile_imwrite)fnamearrkwargsrgbs       c/var/www/html/land-doc-ocr/venv/lib/python3.13/site-packages/skimage/io/_plugins/tifffile_plugin.pyr   r      sa    > yy|v'%/F>"iimv%
}F* %}E1&11    c                 N    SU;   a  UR                  S5      US'   [        U 40 UD6$ )a  Load a tiff image from file.

Parameters
----------
fname : str or file
    File name or file-like-object.
kwargs : keyword pairs, optional
    Additional keyword arguments to pass through (see ``tifffile``'s
    ``imread`` function).

Notes
-----
Provided by the tifffile library [1]_, and supports many
advanced image types including multi-page and floating point.

References
----------
.. [1] https://pypi.org/project/tifffile/

img_numkey)poptifffile_imread)r   r   s     r   r   r   2   s.    * F

9-u5+F++r   N)tifffiler   r   r   r   __all__r    r   r   <module>r      s     . 0X
(2V,r   