Skip to main content

Python Image Converter

PyPI version

This is a simple Image converter written in Python

The app is using PIL ,rawpy and imageio . Files are converted to .jpg format

Convert for FREE multiple image files

I saw all kinds of software out there but when you have hundrends of raw images is tedious to convert one by one! Other Options were to get program suits like photoshop or even pay!

Notes

The .ai files are renamed as .pdf and moved to the converted directory !!!

What files can be used ?

DNG , CR2 , CRW, NEF , PEF, ERF , ORF , PPM , MOS , MRF , MRW , SRW and more!!!

Personally i convert a lot of .psd , .TIF and .dng files !!!

Speed

This script is multithreaded and checks if you have already converted an image!

Install

Using pip (recommended)

$ pip3 install raw_image_converter

Running it from the repo

In that case using an virtual environment is recommended

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

 pip install -r requirements.txt

 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: eg 75% -> width and height are 75% of the original size, 1000,1500 sets the width to 1000px and the height to 1500px
  • -e, --ext: specify the converted image format that will be used for the converted images; by default the .jpg is used. 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

Download files

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

Source Distribution

raw-image-converter-1.1.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

raw_image_converter-1.1.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file raw-image-converter-1.1.0.tar.gz.

File metadata

  • Download URL: raw-image-converter-1.1.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for raw-image-converter-1.1.0.tar.gz
Algorithm Hash digest
SHA256 10a77266747bfe57e426419e46bca7a6905c5ebe752b3655c72a94379d325e65
MD5 c64b08205401896bdd86c4a55dfa9811
BLAKE2b-256 d44d63c4a4c79a3e5b38da3a7ed9d18f2a19316f8cf9183731daa85faa58d60b

See more details on using hashes here.

File details

Details for the file raw_image_converter-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for raw_image_converter-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3c291ae78aadc510c84253a96bb2041ba9fe6db9568242d9258ae54ba6ba8fa6
MD5 2842f25de0b81903cd3576af9cdad9fa
BLAKE2b-256 87735e66a1d33ee80556251e5e383261f2e175e31591b248a163b04f367a7249

See more details on using hashes here.

Release history Release notifications | RSS feed

1.1.3

2 files

1.1.2

2 files

1.1.1

2 files

This release

1.1.0 This release

2 files

1.0.5

2 files

1.0.4

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 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