dcc_jp2_converter.exiv2CommandBuilders package¶
Abstract class¶
abs_builder class¶
-
class
dcc_jp2_converter.modules.exiv2Driver.exiv2CommandBuilders.abs_builder.
AbsBuilder
¶ Abstract base class. Extend this class to create additional builders
-
build_arg
(arg)¶ Abstract: Sets any correct additional argument for exiv2.
-
build_option
()¶ Abstract: Sets any correct operating command for exiv2.
-
build_program_command
()¶ - Abstract: Sets the full path to executable program, such as
- Imagemagicks’s “convert” command.
-
Concrete classes¶
CopyIPTCCommand class¶
-
class
dcc_jp2_converter.modules.exiv2Driver.exiv2CommandBuilders.
CopyIPTCCommand
¶ Bases:
dcc_jp2_converter.modules.exiv2Driver.exiv2CommandBuilders.abs_builder.AbsBuilder
Copies metadata from the source to the arg(destination file).
The equivalent exiv2 command might look like this:
exiv2 -it img1.jpg img2.jpg
ExtractIPTCCommand class¶
-
class
dcc_jp2_converter.modules.exiv2Driver.exiv2CommandBuilders.
ExtractIPTCCommand
¶ Bases:
dcc_jp2_converter.modules.exiv2Driver.exiv2CommandBuilders.abs_builder.AbsBuilder
Extract all embedded into a XMP sidecar file with extension .xmp.
The equivalent exiv2 command might look like this:
exiv2 -eaX image.jpg
InsertIPTCCommand class¶
-
class
dcc_jp2_converter.modules.exiv2Driver.exiv2CommandBuilders.
InsertIPTCCommand
¶ Bases:
dcc_jp2_converter.modules.exiv2Driver.exiv2CommandBuilders.abs_builder.AbsBuilder
Inserts all metadata from an XMP sidecar file into an image.
The equivalent exiv2 command might look like this:
exiv2 -iaX image.jpg