Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 813 Bytes

File metadata and controls

26 lines (18 loc) · 813 Bytes

AutoimgRenamer

PyPI version Python version

AutoimgRenamer is a Python tool to rename image files in a folder with a specified base name and incremental index.

Installation

You can install AutoimgRenamer from PyPI:

pip install autoimgrenamer

Usage

from autoimgrenamer import autoimgrenamer

directory_path = "/path/to/your/images"
new_img_name = 'base'
autoimgrenamer(directory_path, new_img_name)

This will rename all supported image files in the directory using the base name (base_0000.PNG, base_0001.PNG, etc.).

Supported Image Formats: JPG, JPEG, PNG, GIF, BMP, WebP