o8_pics_size/README.md

21 lines
808 B
Markdown

# o8_pics_size
Run the app to open a file picker limited to Excel files (`.xls`, `.xlsx`).
After selecting a file, it reads the workbook sheet names and opens a terminal picker where you choose a sheet with arrow keys and Enter.
Then it reads the header row and asks you to map three columns using the same TUI picker:
- `Cikkszám`
- `Url`
- `img_sequence`
After mapping, it downloads each image from the selected `Url` column, reads image metadata, and writes a new Excel file next to the source workbook as `result_[uuid].xlsx`.
For testing, it currently processes only the first 100 non-empty URL rows.
Image processing runs in parallel workers with timeouts and response-size guards to avoid long hangs.
Output columns:
- `Cikkszám`
- `Sqeuence`
- `Url`
- `Width (px)`
- `Height (px)`
- `Size (KB)`