Skip to content

Commit 3fe8fa4

Browse files
authored
Merge pull request #24 from achimoraites/docs/readme
Docs/readme
2 parents b099079 + 8b5f7ee commit 3fe8fa4

File tree

5 files changed

+31
-26
lines changed

5 files changed

+31
-26
lines changed

.all-contributorsrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"projectName": "Python-Image-Converter",
3+
"projectOwner": "achimoraites"
4+
}

README.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,15 @@
11
# Python Image Converter
22
[![PyPI version](https://badge.fury.io/py/raw-image-converter.svg)](https://pypi.org/project/raw-image-converter/)
3+
[![All Contributors](https://img.shields.io/github/all-contributors/achimoraites/Python-Image-Converter?color=ee8449&style=flat-square)](#contributors)
34

45

5-
## This is a simple Image converter written in Python
6-
The app is using PIL ,rawpy and imageio .
7-
Files are converted to .jpg format
6+
The Python Image Converter is a user-friendly CLI tool designed for hassle-free batch conversion of image files.
87

9-
## Convert for FREE multiple image files
10-
I saw all kinds of software out there but when you have hundrends of raw images is tedious to convert
11-
one by one! Other Options were to get program suits like photoshop or even pay!
12-
# Notes
13-
The .ai files are renamed as .pdf and moved to the converted directory !!!
14-
15-
16-
# What files can be used ?
17-
### DNG , CR2 , CRW, NEF , PEF, ERF , ORF , PPM , MOS , MRF , MRW , SRW and more!!!
18-
Personally i convert a lot of .psd , .TIF and .dng files !!!
19-
## Speed
20-
This script is multithreaded and checks if you have already converted an image!
8+
## Features
9+
- **Bulk Conversion:** Say goodbye to the tedious one-by-one image conversion. Convert hundreds of images at once.
10+
- **Supported File Types:** DNG, CR2, CRW, NEF, PEF, ERF, ORF, PPM, MOS, MRF, MRW, SRW, PSD, TIF, and more.
11+
- **Fast:** Multi-core support.
12+
- **Customizable Output:** Specify your converted images' output directory, resolution, and format
2113

2214
## Install
2315

@@ -26,8 +18,7 @@ This script is multithreaded and checks if you have already converted an image!
2618
$ pip3 install raw_image_converter
2719
```
2820

29-
### Running it from the repo
30-
In that case using an virtual environment is recommended
21+
### Running it from the repo
3122

3223
```bash
3324
git clone https://github.com/achimoraites/Python-Image-Converter.git [my-app-name]
@@ -41,10 +32,10 @@ In that case using an virtual environment is recommended
4132

4233
### Arguments
4334
- `-s, --src` (required): set the path to the directory you want to convert (source)!
44-
- `-t, --tgt`: where to store the converted images (target), by default they are stored in the "converted" folder.
45-
- `-d, --delete-source-directory`: removes the directory with the original images (source)
46-
- `-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
47-
- `-e, --ext`: specify the converted image format that will be used for the converted images; by default the `.jpg` is used. valid options are:
35+
- `-t, --tgt`: where to store the converted images (target); by default, they are stored in the "converted" folder.
36+
- `-d, --delete-source-directory`: removes the directory with the original images (source).
37+
- `-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
38+
- `-e, --ext`: specify the output image format for the converted images; by default, it is JPG. Valid options are:
4839
- `.jpg`
4940
- `.png`
5041

@@ -66,10 +57,19 @@ In that case using an virtual environment is recommended
6657
```
6758

6859

69-
70-
7160
And you are done!
7261

7362
## ScreenShot
7463
<img src='https://raw.githubusercontent.com/achimoraites/Python-Image-Converter/master/sample.png' alt='Python Image Converter'>
7564

65+
66+
## Contributors
67+
68+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
69+
<!-- prettier-ignore-start -->
70+
<!-- markdownlint-disable -->
71+
72+
<!-- markdownlint-restore -->
73+
<!-- prettier-ignore-end -->
74+
75+
<!-- ALL-CONTRIBUTORS-LIST:END -->

raw_image_converter/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
"""
66

77
# Version of the package
8-
__version__ = "1.0.3"
8+
__version__ = "1.1.1"

raw_image_converter/__main__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from datetime import datetime
22
import os
3+
from raw_image_converter import __version__
34
from raw_image_converter.utils import (
45
check_file_type,
56
convert_file,
@@ -18,7 +19,7 @@ def tuple_type(values):
1819

1920

2021
def main():
21-
print("### PYTHON IMAGE CONVERTER ### \n \n")
22+
print(f"### PYTHON IMAGE CONVERTER {__version__} ### \n \n")
2223

2324
parser = argparse.ArgumentParser(description="Convert images to JPG/PNG")
2425
parser.add_argument(

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# This call to setup() does all the work
1111
setup(
1212
name="raw-image-converter",
13-
version="1.1.0",
13+
version="1.1.1",
1414
description="Batch conversions of raw images",
1515
long_description=README,
1616
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)