
    bMhK                     D    d 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.
    Nc                     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       T/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/pywt/data/create_dat.pymainr      s|    !!!!!!
38}}g(1+KI6+D	------    __main__)r   r   numpyr   r   __name__ r   r   <module>r      sY     


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