Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

File rename? #10

Open
nvacsuf opened this issue Oct 23, 2018 · 1 comment
Open

File rename? #10

nvacsuf opened this issue Oct 23, 2018 · 1 comment

Comments

@nvacsuf
Copy link

nvacsuf commented Oct 23, 2018

Try to figure out how to modify sliced file names before saving them.
image_slicer.slice(filename, 4, save=True)

Currently, this option it saves all of them in this format filename_01_01.jpg filename_01_02.jpg filename_02_01.jpg filename_02_02.jpg

Cannot find option to modify with the library.

I am looking to get this format. filename_1.jpg filename_2.jpg filename_3.jpg filename_4.jpg

@samdobson
Copy link
Owner

Row and column number is included to enable tiles to be joined back together. Should be trivial to rename with a shell script. Pull requests to add this functionality to the library in a non-breaking way are welcome.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants