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-2/

{
  "context": "This criteria evaluates the engineer's proficiency in using pillow-heif's from_bytes() function to create HeifFile objects from raw pixel data and their ability to properly access image properties from these objects.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses from_bytes()",
      "description": "Correctly uses the from_bytes() function with mode, size, and data parameters to create HeifFile objects from raw pixel data",
      "max_score": 30
    },
    {
      "name": "Handles RGB mode",
      "description": "Successfully creates HeifFile from RGB mode raw data by passing correct mode string ('RGB') and appropriate byte data to from_bytes()",
      "max_score": 15
    },
    {
      "name": "Handles RGBA mode",
      "description": "Successfully creates HeifFile from RGBA mode raw data by passing correct mode string ('RGBA') and appropriate byte data including alpha channel to from_bytes()",
      "max_score": 15
    },
    {
      "name": "Saves HeifFile bytes",
      "description": "Uses the .save() method with BytesIO or similar to convert HeifFile to bytes format for return",
      "max_score": 15
    },
    {
      "name": "Reads HeifFile bytes",
      "description": "Uses open_heif() or read_heif() function to load HeifFile from bytes data for property extraction",
      "max_score": 10
    },
    {
      "name": "Accesses size property",
      "description": "Correctly accesses the .size property from HeifFile or HeifImage objects to retrieve image dimensions as (width, height) tuple",
      "max_score": 8
    },
    {
      "name": "Accesses mode property",
      "description": "Correctly accesses the .mode property from HeifFile or HeifImage objects to retrieve color mode string",
      "max_score": 7
    }
  ]
}