tessl install tessl/pypi-pillow-heif@1.1.0Python interface for libheif library providing HEIF/AVIF image processing with both standalone and Pillow plugin capabilities
Agent Success
Agent success rate when using this tile
94%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.45x
Baseline
Agent success rate without this tile
65%
Create a Python program that processes images and embeds custom EXIF metadata when saving them in HEIF format. The program should accept an input image, update specific EXIF fields with provided values, and save the result as a HEIF file while preserving the original image quality and color profile.
The program must:
The program must:
The program must:
The program must:
Create a Python module metadata_manager.py with a function:
def add_exif_to_heif(input_path, output_path, camera_make, camera_model, copyright_text):
"""
Load an image, add EXIF metadata, and save as HEIF format.
Args:
input_path: Path to input image file
output_path: Path to output HEIF file
camera_make: Camera manufacturer name
camera_model: Camera model name
copyright_text: Copyright information
"""
passCreate test file: test_metadata_manager.py
Input:
Expected behavior:
Input:
Expected behavior:
Input:
Expected behavior:
Provides HEIF/AVIF image encoding and EXIF metadata handling.
Provides image processing and EXIF data manipulation.