Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TileConfig parameters to use input_ext and output_ext #15

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

Jordan-Pierce
Copy link
Owner

Update TileConfig class and CLI script to use separate input_ext and output_ext parameters.

  • TileConfig Class:

    • Replace ext parameter with input_ext and output_ext parameters.
    • Modify methods to use input_ext for reading images and output_ext for saving tiled images.
    • Adjust _save_tile_image method to use output_ext for saving images.
    • Set output_ext to None by default, and if None, use input_ext.
  • CLI Script:

    • Replace --ext argument with --input_ext and --output_ext arguments.
    • Update TileConfig instantiation to use input_ext and output_ext arguments.
  • README.md:

    • Update usage examples to reflect changes in TileConfig class and CLI script.
    • Provide examples for using input_ext and output_ext parameters.
  • Tests:

    • Update test configuration to use input_ext and output_ext parameters.

Update `TileConfig` class and CLI script to use separate `input_ext` and `output_ext` parameters.

* **TileConfig Class:**
  - Replace `ext` parameter with `input_ext` and `output_ext` parameters.
  - Modify methods to use `input_ext` for reading images and `output_ext` for saving tiled images.
  - Adjust `_save_tile_image` method to use `output_ext` for saving images.
  - Set `output_ext` to `None` by default, and if `None`, use `input_ext`.

* **CLI Script:**
  - Replace `--ext` argument with `--input_ext` and `--output_ext` arguments.
  - Update `TileConfig` instantiation to use `input_ext` and `output_ext` arguments.

* **README.md:**
  - Update usage examples to reflect changes in `TileConfig` class and CLI script.
  - Provide examples for using `input_ext` and `output_ext` parameters.

* **Tests:**
  - Update test configuration to use `input_ext` and `output_ext` parameters.
@Jordan-Pierce Jordan-Pierce merged commit 4b482e9 into main Jan 7, 2025
7 checks passed
@Jordan-Pierce Jordan-Pierce deleted the update-tileconfig-parameters branch January 7, 2025 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant