_pyexiv2

lib._pyexiv2.extension_to_image_format(ext)
lib._pyexiv2.flush(image, thumbdata)
lib._pyexiv2.is_readable_format(format)
Returns True if pyexiv2 can read Exif or Iptc metadata from the image file format.
lib._pyexiv2.is_writable_format(format)
Returns True if pyexiv2 can write Exif or Iptc metadata to the image file format.
lib._pyexiv2.is_writable_format_exif(format)
Returns True if pyexiv2 can write Exif metadata to the image file format.
lib._pyexiv2.is_writable_format_iptc(format)
Returns True if pyexiv2 can write Iptc metadata to the image file format.
lib._pyexiv2.read_thumbdata(image)
lib._pyexiv2.write_metadata(source_pyexiv2_image, target, source_format=None, target_format=None, thumbdata=None)
Parameters:
  • source_pyexiv2_image (pyexiv2.Image) – file opened by pyexiv2
  • target (string) – target filename
  • source_format (string) – source format e.g. obtained by PIL
  • target_format (string) – target format e.g. obtained by PIL
  • thumbdata (string) – new thumbnail (e.g. with StringIO, see imtools)
lib._pyexiv2.write_thumbdata(image, thumbdata=None)

Previous topic

lib

Next topic

colors