MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / image-compress.test.ts

File image-compress.test.ts

packages/agent-core/test/tools/image-compress.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * image-compress — downsample/re-encode oversized images for the model.
3 *
4 * Tests pin:

Callers

nothing calls this directly

Calls 15

compressImageForModelFunction · 0.90
sniffImageDimensionsFunction · 0.90
compressBase64ForModelFunction · 0.90
cropImageForModelFunction · 0.90
solidJpegFunction · 0.85
noisePngFunction · 0.85
translucentPngFunction · 0.85
decodeAlphaFunction · 0.85
solidPngFunction · 0.70

Tested by

no test coverage detected