Wrapper of the Sharp image manipulation library for Gatsby plugins
Build a Node.js command-line tool that efficiently processes a large directory of images by generating multiple optimized variants of each image. The tool must process images in batches to maximize throughput and minimize memory usage.
For each source image, generate three variants:
All variants should be:
{original-name}-{size}.{ext} (e.g., photo-thumbnail.webp)node process-images.js --input ./source-images --output ./optimized-imagesProvides high-performance image processing capabilities with Sharp library integration.
@generates
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