HashLips / hashlips_art_engine

HashLips Art Engine is a tool used to create multiple different instances of artworks based on provided layers.
MIT License
7.21k stars 4.3k forks source link

Change output image name #207

Open LoganN100 opened 3 years ago

LoganN100 commented 3 years ago

Is there a way I can change the output image name instead of it being 1,2,3,4… to something like 1, 2, 3 …

dhyeythumar commented 3 years ago

Hi @LoganN100, Currently, there is no way to do this. And even if this is incorporated then don't you think it will become tedious task to add so many names & on the top of it every time images are generated in random fashion so can't even make sure which image should get which name. I think what we can do is accept prefix or suffix so its added to each image's name.

dhyeythumar commented 3 years ago

Hi , If you only want to change image's name prefix, description & baseUri in metadata files then you do by changes these values in here: https://github.com/HashLips/hashlips_art_engine/blob/32120789327a6996847c35d597a9ca93fea59431/src/config.js#L11-L14

Then run npm run update_info command.

Spaksu commented 3 years ago

You can use Batch Renamer Programs such as Renamer or Advanced Renamer. https://www.den4b.com/products/renamer https://www.advancedrenamer.com/