:py:mod:`exiftool.constants` ============================ .. py:module:: exiftool.constants .. autoapi-nested-parse:: This submodule defines constants which are used by other modules in the package Module Contents --------------- .. py:data:: DEFAULT_BLOCK_SIZE :type: int :value: 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. .. py:data:: DEFAULT_EXECUTABLE :type: 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 (:py:meth:`exiftool.ExifTool.__init__`). .. py:data:: EXIFTOOL_MINIMUM_VERSION :type: str :value: '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 .. py:data:: PLATFORM_LINUX :type: bool sys.platform check, set to True if Linux .. py:data:: PLATFORM_WINDOWS :type: bool sys.platform check, set to True if Windows .. py:data:: PR_SET_PDEATHSIG :type: int :value: 1 Extracted from linux/prctl.h Allows a kill signal to be sent to child processes when the parent unexpectedly dies .. py:data:: SW_FORCEMINIMIZE :type: int :value: 11 Windows ShowWindow constant from win32con Indicates the launched process window should start minimized