exiftool.constants

This submodule defines constants which are used by other modules in the package

Module Contents

exiftool.constants.DEFAULT_BLOCK_SIZE: int = 4096

The default block size when reading from exiftool. The standard value should be fine, though other values might give better performance in some cases.

exiftool.constants.DEFAULT_EXECUTABLE: str

The name of the default executable to run.

exiftool.exe (Windows) or exiftool (Linux/Mac/non-Windows platforms)

By default, the executable is searched for on one of the paths listed in the PATH environment variable. If it’s not on the PATH, a full path should be specified in the executable argument of the ExifTool constructor (exiftool.ExifTool.__init__()).

exiftool.constants.EXIFTOOL_MINIMUM_VERSION: str = '12.15'

this is the minimum exiftool version required for current version of PyExifTool

  • 8.40 / 8.60 (production): implemented the -stay_open flag

  • 12.10 / 12.15 (production): implemented exit status on -echo4

exiftool.constants.PLATFORM_LINUX: bool

sys.platform check, set to True if Linux

exiftool.constants.PLATFORM_WINDOWS: bool

sys.platform check, set to True if Windows

exiftool.constants.PR_SET_PDEATHSIG: int = 1

Extracted from linux/prctl.h

Allows a kill signal to be sent to child processes when the parent unexpectedly dies

exiftool.constants.SW_FORCEMINIMIZE: int = 11

Windows ShowWindow constant from win32con

Indicates the launched process window should start minimized