§
    Áôg¥	  ã                  óÆ   — d Z ddlmZ ddlZ	 ddlmZ n$# e$ r 	 ddlmZ n# e$ r	 ddlmZ Y nw xY wY nw xY wd
d„Ze	d	k    rddl
Z
 e
j         e¦   «         ¦  «         dS dS )a  Write fsspec ReferenceFileSystem for TIFF file.

positional arguments:
  tifffile              path to the local TIFF input file
  url                   remote URL of TIFF file without file name

optional arguments:
  -h, --help            show this help message and exit
  --out OUT             path to the JSON output file
  --series SERIES       index of series in file
  --level LEVEL         index of level in series
  --key KEY             index of page in file or series
  --chunkmode CHUNKMODE
                        mode used for chunking {None, pages}

For example:

    ``tiff2fsspec ./test.ome.tif https://server.com/path/``

é    )ÚannotationsNé   )Útiff2fsspecÚreturnÚintc            
     ó´  — t          j        dd¬¦  «        } |                      dt          d¬¦  «         |                      dt          d¬¦  «         |                      d	t          d
d¬¦  «         |                      dt          d
d¬¦  «         |                      dt          d
d¬¦  «         |                      dt          d
d¬¦  «         |                      dt          d
d¬¦  «         |                      dt          d
d¬¦  «         |                      ¦   «         }t          |j        |j        |j	        |j
        |j        |j        |j        |j        ¬¦  «         dS )z-Tiff2fsspec command line usage main function.r   z/Write fsspec ReferenceFileSystem for TIFF file.)ÚdescriptionÚtifffilez!path to the local TIFF input file)ÚtypeÚhelpÚurlz)remote URL of TIFF file without file namez--outNzpath to the JSON output file)r   Údefaultr   z--serieszindex of series in filez--levelzindex of level in seriesz--keyzindex of page in file or seriesz--chunkmodez$mode used for chunking {None, pages}z--verzversion of ReferenceFileSystem)ÚoutÚkeyÚseriesÚlevelÚ	chunkmodeÚversionr   )ÚargparseÚArgumentParserÚadd_argumentÚstrr   Ú
parse_argsr   r
   r   r   r   r   r   r   Úver)ÚparserÚargss     ú]/var/www/html/bac/bac_backend/python/env/lib/python3.11/site-packages/tifffile/tiff2fsspec.pyÚmainr   &   s¾  € åÔ$ØØEðñ ô €Fð ×ÒØ�Ð#Fð ñ ô ð ð ×ÒØ•CÐIð ñ ô ð ð ×ÒØ•c 4Ð.Lð ñ ô ð ð ×ÒØ� dÐ1Jð ñ ô ð ð ×ÒØ� TÐ0Jð ñ ô ð ð ×ÒØ•c 4Ð.Oð ñ ô ð ð ×ÒØÝØØ3ð	 ñ ô ð ð ×ÒØ•c 4Ð.Nð ñ ô ð ð ×ÒÑÔ€DåØŒØŒØŒHØŒHØŒ{ØŒjØ”.Ø”ð	ñ 	ô 	ð 	ð ˆ1ó    Ú__main__)r   r   )Ú__doc__Ú
__future__r   r   r
   r   ÚImportErrorÚtifffile.tifffiler   Ú__name__ÚsysÚexit© r   r   ú<module>r)      s  ððð ð* #Ð "Ð "Ð "Ð "Ð "à €€€ð)Ø%Ð%Ð%Ð%Ð%Ð%Ð%øØð )ð )ð )ð)Ø1Ð1Ð1Ð1Ð1Ð1Ð1øØð )ð )ð )Ø(Ð(Ð(Ð(Ð(Ð(Ð(Ð(ð)øøøøøð)øøøð-ð -ð -ð -ð` ˆzÒÐØ€J€J€Jà€C„HˆTˆT‰VŒVÑÔÐÐÐð Ðs$   Ž •6›"¡6¢0­6¯0°6µ6