Skip to main content

Python Image Converter

PyPI version All Contributors

The Python Image Converter is a user-friendly CLI tool designed for hassle-free batch conversion of image files.

Once upon a time, converting multiple images came with either slow, tedious processes or even paid tools. Not anymore!

This open-source image converter can empower anyone, from busy image professionals to individuals passionate about photography.

Features

  • Bulk Conversion: Say goodbye to the tedious one-by-one image conversion. Convert hundreds of images at once.
  • Supported File Types: DNG, CR2, CRW, NEF, PEF, ERF, ORF, PPM, MOS, MRF, MRW, SRW, PSD, TIF, and more.
  • Fast: Multi-core support.
  • Customizable Output: Specify your converted images' output directory, resolution, and format

Install

$ pip3 install raw_image_converter

Running it from the repo

 git clone https://github.com/achimoraites/Python-Image-Converter.git [my-app-name]
 cd [my-app-name]

poetry install
poetry shell

 python -m raw_image_converter --s <Enter-Path-Of-Directory>

Example usage

Arguments

  • -s, --src (required): set the path to the directory you want to convert (source)!
  • -t, --tgt: where to store the converted images (target); by default, they are stored in the "converted" folder.
  • -d, --delete-source-directory: removes the directory with the original images (source).
  • -r, --resolution: allows to set the converted image resolutions; you can use numbers or percentages: e.g., 75% -> width and height are 75% of the original size, 1000,1500 -> width to 1000px and the height to 1500px
  • -e, --ext: specify the output image format for the converted images; by default, it is JPG. Valid options are:
    • .jpg
    • .png
 # simple usage
 raw_image_converter -s <Enter-Path-Of-Directory>

 # set a custom target image format
 raw_image_converter --s <Enter-Path-Of-Directory> --ext '.png'

 # Advanced usage 1
 raw_image_converter -s images -t converted/png -r 25% -e .png -d

 # Set custom resolution 1
 raw_image_converter -s images -t converted/jpg -r 1024,768

 # Set custom resolution 2
 raw_image_converter -s images -t converted/jpg -r 50%,33%

And you are done!

ScreenShot

Python Image Converter

Contributors

23198
23198

💻
Achilles Moraites
Achilles Moraites

🤔 💻
Filippos Pappas
Filippos Pappas

🤔
Florian Schmid
Florian Schmid

💻 🤔
Rakovskij Stanislav
Rakovskij Stanislav

💻 🤔
ShadoWxShinigamI
ShadoWxShinigamI

🤔
felixjchen
felixjchen

🤔

Metadata

Release files for raw-image-converter 1.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for raw-image-converter 1.1.3
File Size Uploaded
raw_image_converter-1.1.3.tar.gz 6.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for raw-image-converter 1.1.3
File Interpreter ABI Platform
raw_image_converter-1.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 13.2 kB

Release files / raw_image_converter-1.1.3.tar.gz

Download URL raw_image_converter-1.1.3.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
64755ed88db2d3bca3c63da06f325ef156fbdf69cb0e88df7bcada631622a52e
BLAKE2b-256 checksum
How to use checksums
badf3f15051dcbd95cb7b4eaa61299d7cd6b51981a8ee57cdebd5e71f6976d9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.3 Linux/6.5.0-1018-azure

Release files / raw_image_converter-1.1.3-py3-none-any.whl

Download URL raw_image_converter-1.1.3-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f7502ec1b5190fdefc0391286ef3e621718ae08437a2080f98091e83922a93ca
BLAKE2b-256 checksum
How to use checksums
9af319b72733d55b238fca68c22506968056a3efb5490f3b889a2cc35a197443
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.3 Linux/6.5.0-1018-azure

Release history Release notifications | RSS feed

This release

1.1.3 This release

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page