Python interface for libheif library providing HEIF/AVIF image processing with both standalone and Pillow plugin capabilities
Overall
score
94%
{
"context": "This criteria evaluates the engineer's ability to use pillow-heif's auxiliary image capabilities to extract and process auxiliary images from HEIF files.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Opens HEIF files",
"description": "Uses pillow-heif's open_heif() or read_heif() function to open HEIF/AVIF files for processing",
"max_score": 15
},
{
"name": "Accesses aux dictionary",
"description": "Correctly accesses the info['aux'] dictionary from a HeifImage or HeifFile object to retrieve auxiliary image types and IDs",
"max_score": 25
},
{
"name": "Iterates aux types",
"description": "Properly iterates through the aux dictionary structure to extract all auxiliary image types and their associated IDs",
"max_score": 20
},
{
"name": "Uses get_aux_image",
"description": "Calls the get_aux_image(aux_id) method on a HeifImage object to retrieve a specific auxiliary image by ID",
"max_score": 25
},
{
"name": "Extracts aux properties",
"description": "Correctly extracts auxiliary image properties including size, mode, and data from HeifAuxImage objects returned by get_aux_image()",
"max_score": 15
}
]
}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