CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-sharp

High performance Node.js image processing library for resizing JPEG, PNG, WebP, GIF, AVIF and TIFF images

80

1.01x
Quality

Pending

Does it follow best practices?

Impact

80%

1.01x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-10/

{
  "context": "This criteria evaluates the engineer's proficiency in using the Sharp library to create animated images in multiple formats (GIF, WebP, JXL). It focuses on proper use of Sharp's animation API, including frame composition, format-specific output options, and multi-page image generation.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "GIF animation creation",
      "description": "Uses Sharp's .gif() output method with animated: true option and proper delay/loop configuration to create animated GIF files",
      "max_score": 25
    },
    {
      "name": "WebP animation creation",
      "description": "Uses Sharp's .webp() output method with animated: true option and proper delay/loop configuration to create animated WebP files",
      "max_score": 25
    },
    {
      "name": "JXL animation creation",
      "description": "Uses Sharp's .jxl() output method with animated: true option and proper delay/loop configuration to create animated JXL files (or gracefully handles if format not supported)",
      "max_score": 15
    },
    {
      "name": "Frame composition",
      "description": "Uses Sharp's animated input handling by passing an array of input buffers or using joinChannel/composite operations to combine multiple images into animation frames",
      "max_score": 20
    },
    {
      "name": "Consistent frame sizing",
      "description": "Uses Sharp's .resize() method to ensure all frames have consistent dimensions before creating animations",
      "max_score": 10
    },
    {
      "name": "Format-specific options",
      "description": "Applies appropriate format-specific options like quality settings, palette optimization for GIF, or compression settings for WebP as specified in Sharp's output format documentation",
      "max_score": 5
    }
  ]
}

tile.json