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
Overview
Eval results
Files

Evaluation results

100%

Image Archive Converter

JPEG 2000 (JP2) output

Criteria
Without context
With context

Sharp instance creation

100%

100%

JP2 format selection

100%

100%

Quality parameter

100%

100%

Lossless option

100%

100%

Tiled encoding option

100%

100%

Output generation

100%

100%

100%

Image Rotation Processor

Rotate by angle or multiples of 90 degrees

Criteria
Without context
With context

Uses rotate() method

100%

100%

Auto-orient with rotate()

100%

100%

90-degree rotation

100%

100%

Arbitrary angle rotation

100%

100%

Background color handling

100%

100%

Method chaining

100%

100%

File I/O operations

100%

100%

75%

55%

Social Media Text Banner Generator

Generate text images

Criteria
Without context
With context

Uses sharp.text()

0%

0%

Configures text options

0%

100%

Sets image dimensions

0%

100%

Implements text alignment

0%

100%

Converts to PNG

100%

100%

Returns Buffer output

100%

100%

100%

Image Security Manager

Block or unblock libvips operations

Criteria
Without context
With context

Use sharp.block()

100%

100%

Use sharp.unblock()

100%

100%

Block multiple operations

100%

100%

Validate blocking state

100%

100%

Implement policy logic

100%

100%

100%

Photo Watermark Applicator

Blend modes for compositing

Criteria
Without context
With context

Uses sharp composite

100%

100%

Implements blend modes

100%

100%

Implements gravity positioning

100%

100%

Multiple composite layers

100%

100%

Proper image loading

100%

100%

Output as Buffer

100%

100%

0%

-43%

Multi-Channel Image Combiner

Join channels

Criteria
Without context
With context

Uses joinChannel method

0%

0%

Proper channel loading

50%

0%

Dimension validation

53%

0%

Handles optional alpha

100%

0%

Output formatting

100%

0%

100%

Medical Image Enhancement Tool

CLAHE contrast enhancement

Criteria
Without context
With context

Sharp instance creation

100%

100%

CLAHE method usage

100%

100%

Width parameter

100%

100%

MaxSlope parameter

100%

100%

Output handling

100%

100%

100%

Image Border Tool

Extend with borders and padding

Criteria
Without context
With context

Uses sharp() constructor

100%

100%

Uses extend() method

100%

100%

Solid color borders

100%

100%

Edge extension borders

100%

100%

Mirrored borders

100%

100%

Buffer output

100%

100%

Handles border sizing

100%

100%

40%

Image Border Trimmer

Automatic edge trimming

Criteria
Without context
With context

Sharp instance creation

100%

100%

trim() method usage

0%

0%

threshold configuration

0%

0%

Output format preservation

100%

100%

Metadata access

100%

100%

88%

-2%

Image Slideshow Generator

Create animated GIF, WebP, JXL

Criteria
Without context
With context

GIF animation creation

100%

80%

WebP animation creation

100%

80%

JXL animation creation

100%

100%

Frame composition

50%

90%

Consistent frame sizing

100%

100%

Format-specific options

100%

100%

Install with Tessl CLI

npx tessl i tessl/npm-sharp
Evaluated
Agent
Claude Code

Table of Contents