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.MEDIUMJPEGPreview.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()
Release files for pydngconverter 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pydngconverter-0.3.0.tar.gz | 12.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pydngconverter-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.8 kB
Release files / pydngconverter-0.3.0.tar.gz
| Download URL | pydngconverter-0.3.0.tar.gz |
|---|---|
| Size | 12.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8e04d6d90c1f848ab1918694b8666be8676b0b128ddee9ee4b453dd09edcb5b
|
|
BLAKE2b-256 checksum How to use checksums |
85f802c6a7804a0a4ff4709e262372568491524a8fa312c2b6316e074f9bab3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.0 CPython/3.10.6 Linux/5.15.0-1033-azure
|
Release files / pydngconverter-0.3.0-py3-none-any.whl
| Download URL | pydngconverter-0.3.0-py3-none-any.whl |
|---|---|
| Size | 12.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5fcfa700657b5ee6a5eca3816719d7bdb8ce0846ec42bc864a82dcfeb8d07d97
|
|
BLAKE2b-256 checksum How to use checksums |
366edf7dfaa1d266b24451c1ec7208fe237a8af7bc1cb6ef63e49dfa68289d80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.0 CPython/3.10.6 Linux/5.15.0-1033-azure
|