Skip to main content

Image Conversion Tools.

Project description

image_pyconverter_cli


PyPI version PyPI - Python Version Github CI

CLI providing simple image conversion functionality in python.

New features will be added as needed.

Install

$ pip install image_pyconverter_cli

Uninstall

$ pip uninstall image_pyconverter_cli

Rename

A text file of the record before and after the conversion of the image is automatically created.

1

$ ic_rename directory-containing-images --is_all_replaced_with_new_name --new_name new-name
directry-containing-images
├── dir1
│   ├── dir1-image.png
│   └── dir2
│       └── dir2-image.png
└── image.png


directry-containing-imagesg-images
├── dir1
│   ├── new-name002.png
│   └── dir2
│       └── new-name003.png
└── new-name001.png

2

$ ic_rename directory-containing-images --chars_before_replacement dir1 dir2 --chars_after_replacement newdir1 newdir2
directry-containing-images
├── dir1
│   ├── dir1-image.png
│   └── dir2
│       └── dir2-image.png
└── image.png


directry-containing-images
├── dir1
│   ├── newdir1-image.png
│   └── dir2
│       └── newdir2-image.png
└── image.png

3

$ ic_rename directory-containing-images
directry-containing-images
├── dir1
│   └── ABC.png
└── image001.png


directry-containing-images
├── dir1
│   └── abc.png
└── image001.png

4

$ ic_rename directory-containing-images --is_separator_and_delimiter_replaced --separator _
directry-containing-images
├── dir1
│   ├── dir1-image.png
│   └── dir2
│       └── dir2-image.png
└── image image.png


directry-containing-images
├── dir1
│   ├── dir1_image.png
│   └── dir2
│       └── dir2_image.png
└── image_image.png

5

$ ic_rename directory-containing-images --alternative_unavailable_char_in_windows -
directry-containing-images
└── -_,!(:*?<>|¥)あabc.png


directry-containing-images
└── -_,!(--------)あabc.png

6

$ ic_rename directory-containing-images --alternative_url_encoded_char X
directry-containing-images
└── -_,!()abcあ* &^%.png


directry-containing-images
└── -_XXXXabcXXXXXX.png

7

$ ic_rename directory-containing-images --prefix prefix --suffix suffix --separator -
directry-containing-images
└── image.png


directry-containing-images
└── prefix-image-suffix.png

8

$ ic_rename directory-containing-images --prefix prefix --suffix suffix --separator -
directry-containing-images
└── image.png


directry-containing-images
└── prefix-image-suffix.png

9

$ ic_rename directory-containing-images --is_serial_number_added
directry-containing-images
├── dir1
│   ├── dir1-image.png
│   └── dir2
│       └── dir2-image.png
└── image.png


directry-containing-images
├── dir1
│   ├── dir1-image002.png
│   └── dir2
│       └── dir2-image003.png
└── image001.png

10

$ ic_rename directory-containing-images --is_output_to_same_dir --separator -
directry-containing-images
├── dir1
│   ├── image.png
│   └── dir2
│       └── image.png
└── image.png


directry-containing-images
├── dir1-image.png
├── dir2-image.png
└── image.png

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

image_pyconverter_cli-1.1.0.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

image_pyconverter_cli-1.1.0-py2.py3-none-any.whl (22.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file image_pyconverter_cli-1.1.0.tar.gz.

File metadata

  • Download URL: image_pyconverter_cli-1.1.0.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for image_pyconverter_cli-1.1.0.tar.gz
Algorithm Hash digest
SHA256 cc6da04c5c9b95b65875db64face03c6004afd93fe2f16e7aaa4805486395f23
MD5 8a71350efa1b64e9be09fde68722147e
BLAKE2b-256 ef9d5f4030d5022e7bb6cd551e71d9dc0a3a97ed9f9852e8e8cb38454bff1531

See more details on using hashes here.

File details

Details for the file image_pyconverter_cli-1.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for image_pyconverter_cli-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d6d736a01a4031749393db22f388d205bcf25e6be64625aca99417a65bc40690
MD5 3fc4d746b1ff7a7afd790f85b55d6d9c
BLAKE2b-256 18021a0693e21de54114f6954458bc21ff7c465bf38b886a62b01c681cce1caa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page