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%
{
"context": "This criteria evaluates how well the engineer uses pillow-heif's thumbnail reading capabilities. The focus is on using the package's API to detect, access, and extract embedded thumbnails from HEIF/HEIC images.",
"type": "weighted_checklist",
"checklist": [
{
"name": "HEIF file opening",
"description": "Uses pillow-heif to open HEIF files correctly (e.g., using open_heif(), read_heif(), or Pillow plugin via Image.open())",
"max_score": 15
},
{
"name": "Thumbnail detection",
"description": "Correctly checks for the presence of thumbnails using the info['thumbnails'] property or equivalent mechanism",
"max_score": 25
},
{
"name": "Thumbnail count",
"description": "Accurately reports the number of thumbnails by examining the length of the thumbnails list",
"max_score": 15
},
{
"name": "Box size access",
"description": "Retrieves and reports thumbnail box sizes from the info['thumbnails'] list",
"max_score": 20
},
{
"name": "Thumbnail extraction",
"description": "Extracts thumbnail images from the HEIF container (thumbnails are stored as separate images in the container)",
"max_score": 15
},
{
"name": "Thumbnail saving",
"description": "Converts thumbnails to PIL Images and saves them as PNG files with appropriate naming",
"max_score": 10
}
]
}