pydngconverter.flags

PyDNGConverter Flag Enums.

Provides mappings for Adobe DNG Converter’s parameters.

Classes

CRawCompat(value)

Camera Raw Compatibility version.

CliFlag(value)

An enumeration.

Compression(value)

DNG Lossless Compression.

DNGVersion(value)

DNG backwards compatibility version.

JPEGPreview(value)

JPEG Preview/Thumbnail.

LossyCompression(value)

DNG Lossy Compression.

class pydngconverter.flags.CRawCompat(value)

Bases: pydngconverter.flags.CliFlag

Camera Raw Compatibility version.

ELEVEN_TWO = 11.2
FIVE_FOUR = 5.4
FOUR_ONE = 4.1
FOUR_SIX = 4.6
SEVEN_ONE = 7.1
SIX_SIX = 6.6
TWO_FOUR = 2.4
class pydngconverter.flags.CliFlag(value)

Bases: enum.Enum

An enumeration.

property flag
classmethod latest()
class pydngconverter.flags.Compression(value)

Bases: pydngconverter.flags.CliFlag

DNG Lossless Compression.

NO = 'u'
YES = 'c'
class pydngconverter.flags.DNGVersion(value)

Bases: pydngconverter.flags.CliFlag

DNG backwards compatibility version.

ONE_FOUR = 1.4
ONE_ONE = 1.1
ONE_THREE = 1.3
class pydngconverter.flags.JPEGPreview(value)

Bases: pydngconverter.flags.CliFlag

JPEG Preview/Thumbnail.

Setting to “Extract” will extract a thumbnail via the raw image’s exif data.

All other options are passed and handled via Adobe DNG Converter.

EXTRACT = 3
FULL = 2
MEDIUM = 1
NONE = 0
class pydngconverter.flags.LossyCompression(value)

Bases: pydngconverter.flags.CliFlag

DNG Lossy Compression.

NO = ''
YES = '-lossy'