Wrapper of the Sharp image manipulation library for Gatsby plugins
{
"context": "This criteria evaluates how effectively the engineer uses gatsby-plugin-sharp's format-specific optimization features to generate optimized images in multiple formats with appropriate compression settings for each format.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses Plugin API",
"description": "Uses gatsby-plugin-sharp's image processing functions (queueImageResizing, batchQueueImageResizing, or resize) to process images rather than alternative image libraries.",
"max_score": 15
},
{
"name": "JPEG Progressive Encoding",
"description": "Correctly configures JPEG output to use progressive encoding by setting jpegProgressive: true in the transform arguments, or using jpegOptions with progressive: true in plugin configuration.",
"max_score": 20
},
{
"name": "PNG Compression Level",
"description": "Applies PNG-specific compression by setting pngCompressionLevel: 9 in the transform arguments to use maximum compression level.",
"max_score": 20
},
{
"name": "WebP Quality Control",
"description": "Configures WebP output with quality settings by setting webpQuality: 50 in the transform arguments to optimize WebP compression.",
"max_score": 15
},
{
"name": "AVIF Quality Control",
"description": "Configures AVIF output with quality settings by setting quality: 50 in the transform arguments when toFormat is 'avif' to optimize AVIF compression.",
"max_score": 15
},
{
"name": "Multi-Format Output",
"description": "Generates all four required image formats (JPEG, PNG, WebP, AVIF) from a single source image using toFormat parameter, ideally using batchQueueImageResizing for batch processing or multiple queueImageResizing calls.",
"max_score": 10
},
{
"name": "Image Resizing",
"description": "Correctly uses the width parameter in transform arguments to resize images to 800px width while maintaining aspect ratio.",
"max_score": 5
}
]
}tessl i tessl/npm-gatsby-plugin-sharp@5.15.0docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10