CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-pillow-heif

Python interface for libheif library providing HEIF/AVIF image processing with both standalone and Pillow plugin capabilities

Overall
score

94%

Overview
Eval results
Files

rubric.jsonevals/scenario-7/

{
  "context": "This criteria evaluates how well the engineer uses pillow-heif package functionality to read and extract XMP metadata from HEIF/AVIF image files. It focuses on proper usage of the package's XMP metadata reading capabilities.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Open HEIF/AVIF file",
      "description": "Uses pillow-heif functions to open HEIF/AVIF image files (e.g., open_heif(), read_heif(), or is_supported())",
      "max_score": 25
    },
    {
      "name": "Access XMP metadata",
      "description": "Correctly accesses XMP metadata from the image info dictionary using info['xmp']",
      "max_score": 30
    },
    {
      "name": "Decode XMP bytes",
      "description": "Properly decodes the XMP metadata bytes to UTF-8 string format",
      "max_score": 25
    },
    {
      "name": "Handle missing XMP",
      "description": "Correctly handles cases where XMP metadata is not present (returns None or checks for key existence)",
      "max_score": 20
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-pillow-heif

tile.json