
    Tcq                     P    d Z ddlmZ ddlZddlZd Zedk    r e             dS dS )zHelper script for creating image .dat files by numpy.save

Usage:

    python create_dat.py <name of image file> <name of dat file>

Example (to create aero.dat):

    python create_dat.py aero.png aero.dat

Requires Scipy and PIL.
    )print_functionNc                     ddl m}  t          t          j                  dk    r"t          t                     t                       t          j        d         }t          j        d         } | |          }t          j	        ||           d S )Nr   )imread         )data)

scipy.miscr   lensysargvprint__doc__exitnpsavez_compressed)r   image_fname	dat_fnamer	   s       4lib/python3.11/site-packages/pywt/data/create_dat.pymainr      s~    !!!!!!
38}} g(1+KI6+D	------    __main__)r   
__future__r   r   numpyr   r   __name__ r   r   <module>r      so     & % % % % % 



    . . . z DFFFFF r   