High performance Node.js image processing library for resizing JPEG, PNG, WebP, GIF, AVIF and TIFF images
80
{
"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
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-sharpdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10