Python Interface for the Adobe's DNG Converter
Project description
PyDNGConverter
Python Interface for the Adobe's DNG Converter.
Utilizing parallel processing, PyDNGConverter can convert RAW images to DNG up to ~60% faster than simply utilizing Adobe's DNG Converter.
Installation
pip install -U pydngconverter
To utilize PyDNGConverter's Exif thumbnail extraction (as opposed to Adobe DNG Converters'), the following dependencies are required:
Then specify JPEGPreview.EXTRACT
for DNGConverters
jpeg_preview
parameter.
Alternatively, you can utilize Adobe DNG Converters' thumbnail extraction via:
JPEGPreview.MEDIUM
JPEGPreview.FULL
Or, disable thumbnails via:
JPEGPreview.NONE
Example
import asyncio
from pydngconverter import DNGConverter, flags
async def main():
# Create converter instance.
pydng = DNGConverter('/my/raw/files/',
dest='/dngfiles',
jpeg_preview=flags.JPEGPreview.EXTRACT,
fast_load=True,
)
# Convert all
return await pydng.convert()
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
loop.close()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pydngconverter-0.3.0.tar.gz
.
File metadata
- Download URL: pydngconverter-0.3.0.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.10.6 Linux/5.15.0-1033-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8e04d6d90c1f848ab1918694b8666be8676b0b128ddee9ee4b453dd09edcb5b |
|
MD5 | 25999933d5318e6fa0b6bd47bee1b0e2 |
|
BLAKE2b-256 | 85f802c6a7804a0a4ff4709e262372568491524a8fa312c2b6316e074f9bab3c |
File details
Details for the file pydngconverter-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: pydngconverter-0.3.0-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.10.6 Linux/5.15.0-1033-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fcfa700657b5ee6a5eca3816719d7bdb8ce0846ec42bc864a82dcfeb8d07d97 |
|
MD5 | 6aa6d42685f444787359d0f93323caa3 |
|
BLAKE2b-256 | 366edf7dfaa1d266b24451c1ec7208fe237a8af7bc1cb6ef63e49dfa68289d80 |