or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/pillow-heif@1.1.x
tile.json

tessl/pypi-pillow-heif

tessl install tessl/pypi-pillow-heif@1.1.0

Python 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%

rubric.jsonevals/scenario-4/

{
  "context": "This evaluation assesses the engineer's proficiency in using pillow-heif for NCLX color profile manipulation, specifically focusing on transfer characteristics configuration. The criteria evaluate proper usage of the package's color profile management APIs for reading, modifying, and writing NCLX profiles to control HDR image color space properties.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "File opening",
      "description": "Uses pillow-heif's open_heif() or read_heif() function to open HEIF/AVIF image files, or uses the Pillow plugin integration with Image.open() after registering the plugin.",
      "max_score": 15
    },
    {
      "name": "NCLX profile reading",
      "description": "Correctly accesses the NCLX profile information from the HeifImage or PIL.Image.info dictionary using the 'nclx_profile' key to retrieve color space parameters.",
      "max_score": 25
    },
    {
      "name": "Transfer characteristic modification",
      "description": "Properly modifies the 'transfer_characteristics' parameter in the NCLX profile dictionary while preserving other color space properties (color_primaries, matrix_coefficients, full_range_flag).",
      "max_score": 30
    },
    {
      "name": "NCLX profile writing",
      "description": "Correctly applies the modified NCLX profile when saving by passing the modified profile dictionary and setting save_nclx_profile=True in the save() call or as save parameters in Image.save().",
      "max_score": 20
    },
    {
      "name": "File saving",
      "description": "Uses the HeifFile.save() method or PIL.Image.save() with appropriate parameters to write the output HEIF/AVIF file with the updated color profile.",
      "max_score": 10
    }
  ]
}