Python interface for libheif library providing HEIF/AVIF image processing with both standalone and Pillow plugin capabilities
Overall
score
94%
{
"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
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-pillow-heifevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10