Skip to main content

Python utility for converting Raspberry Pi Camera RAW images into Adobe DNG Format.

Reason this release was yanked:

deprecated

Project description

PYDNG

Create Adobe DNG RAW files using Python.

Features

  • 8,10,12,14,16-bit precision
  • Lossless compression
  • DNG Tags ( extensible )

Works with any Bayer RAW Data including native support for Raspberry Pi cameras.

  • OV5467 ( Raspberry Pi Camera Module V1 )
  • IMX219 ( Raspberry Pi Camera Module V2 )
  • IMX477( Raspberry Pi High Quality Camera )

Raspberry Pi High Quality Camera examples below ( DNG top, JPEG bottom )


Instructions

Requires:

  • Python3
  • Numpy
  • ExifRead

Install

# download
git clone https://github.com/schoolpost/PyDNG.git
cd PyDNG

# install 
pip3 install src/.

# or
pip install src/.

How to use:


# examples
from pydng.core import RPICAM2DNG

# use file string input to the jpeg+raw file. 
d = RPICAM2DNG()
d.convert('imx477.jpg')


# the included command line utility can be used as shown below
Utility.py:
  python3 examples/utility.py <options> <inputFilename> 
  python3 examples/utility.py imx477.jpg  


TODO

  • SUB IFDS/THUMBNAILS

Credits

Source referenced from:

CanPi ( Jack ) | color-matrices

Waveform80 | picamera

Krontech | chronos-utils

Andrew Baldwin | MLVRawViewer

Project details


Download files

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

Source Distribution

PiDNG-3.4.6.tar.gz (19.9 kB view hashes)

Uploaded Source

Built Distribution

PiDNG-3.4.6-py3-none-any.whl (20.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page