Absolute path
All checks were successful
All checks were successful
This commit is contained in:
parent
1aee3e0efd
commit
7dfc5dcefa
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ def run():
|
||||||
path = Paths.IMAGES / servantid
|
path = Paths.IMAGES / servantid
|
||||||
for f in path.iterdir():
|
for f in path.iterdir():
|
||||||
process_sprite(f, sprites[f.stem], servantid)
|
process_sprite(f, sprites[f.stem], servantid)
|
||||||
print(f"Files have been saved at: {Paths.OUTPUT / servantid}")
|
print(f"Files have been saved at: {(Paths.OUTPUT / servantid).absolute()}")
|
||||||
|
|
||||||
def process_sprite(filepath: pathlib.Path, position: tuple, servantid: str):
|
def process_sprite(filepath: pathlib.Path, position: tuple, servantid: str):
|
||||||
im = Image.open(filepath)
|
im = Image.open(filepath)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[project]
|
[project]
|
||||||
name = "atlasimagecomposer"
|
name = "atlasimagecomposer"
|
||||||
version = "0.1.0-a.2"
|
version = "0.1.0-a.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"numpy~=2.0.1",
|
"numpy~=2.0.1",
|
||||||
"pillow~=10.4.0",
|
"pillow~=10.4.0",
|
||||||
|
|
Loading…
Reference in a new issue