+
    /iw                        R t ^ RIHt ^ RIt^ RIt^ RIt^ RIt^ RIHt  ^RI	H
t
 RR R llt]R8X  d   ]P                  ! ]! 4       4       R# R#   ] d     ^ RIH
t
  L:  ] d    ^ RI	H
t
   LJi ; ii ; i)	/Write fsspec ReferenceFileSystem for TIFF file.)annotationsN)Any)tiff2fsspecc                    V ^8  d   QhRRRR/# )   argvzlist[str] | Nonereturnint )formats   "R/var/www/html/photoedit/myenv/lib/python3.14/site-packages/tifffile/tiff2fsspec.py__annotate__r      s     T T T3 T    c                   \         P                  ! RRR\         P                  R7      pVP                  RRR7       VP                  RR	R7       VP                  R
RR7       VP                  R\        RR7       VP                  R\        RR7       VP                  R\        RR7       VP                  RRRR7       VP                  R\
        RR7       VP                  R\         P                  RR7       VP                  RRR7       VP                  RRR R7       VP                  R!R"\        R#R$7       TP                  V f   R%MV R&,          4      pVP                  pVe7   \        P                  ! \        4      ;_uu_ 4        \	        V4      pR%R%R%4       R%pVP                  eI    \        P                  ! VP                  4      p\#        V\$        4      '       g   VP!                  R(4        \'        VP(                  VP*                  VP,                  VP.                  VP0                  VP2                  VVP4                  VP6                  VP8                  VVP:                  R)7       ^ #   + '       g   i     L; i  \        P                   d   pTP!                  R'T 24        R%p?LR%p?ii ; i  \<         d6   p\?        TP(                   R*T 2\@        PB                  R+7        R%p?^# R%p?ii ; i),z-Tiff2fsspec command line usage main function.r   r   z<Example: tiff2fsspec ./test.ome.tif https://server.com/path/)progdescriptionepilogformatter_classtifffilez!path to the local TIFF input file)helpurlz)remote URL of TIFF file without file namez--outzpath to the JSON output filez--serieszindex of series in file)typer   z--levelzindex of level in seriesz--keyzindex of page in file or seriesz--chunkmodemodez4mode used for chunking (int or string, e.g. "pages"))metavarr   z--fillvaluezfill value for missing dataz	--squeezez+squeeze length-1 dimensions from zarr store)actionr   z--groupnamez+name of the zarr group in the fsspec outputz--zattrsJSONz.custom Zarr attributes as a JSON object stringz--ref-versionversionz#version of ReferenceFileSystem spec)destr   r   N:   NNz--zattrs is not valid JSON: z6--zattrs must be a JSON object, not an array or scalar)
outkeyserieslevel	chunkmode	fillvaluesqueeze	groupnamezattrsr   z: )file)"argparseArgumentParserRawDescriptionHelpFormatteradd_argumentr
   floatBooleanOptionalAction
parse_argsr$   
contextlibsuppress
ValueErrorr(   jsonloadsJSONDecodeErrorerror
isinstancedictr   r   r   r    r!   r"   r#   r%   r&   r'   r   	Exceptionprintsysstderr)r   parserargsr$   r(   excs   &     r   mainrA      s   $$EM <<	F 
)LM
?   &DE

3LM
	2LM
c A   C  
 *  
 --:  
 :   =  
 2	   T\TtBx@D"&..I  ,,II - %)F{{	?ZZ,F &$''LLHMMHH;;**nnLLnnLL	
" A -, ## 	?LL7u=>>	?,  r#'cjj9s=   I2- J 5A;J; 2J	J8J33J8;K;*K66K;__main__)N)__doc__
__future__r   r*   r1   r4   r<   typingr   r   r   ImportErrortifffile.tifffilerA   __name__exitr   r   r   <module>rJ      sw    6 "    
 )%Tn zHHTV }  ))1 )(())s)   A A5A  A1-A50A11A5