MCPcopy
hub / github.com/jimp-dev/jimp / imageWithOrientation2

Function imageWithOrientation2

packages/jimp/src/exif.node.test.ts:13–17  ·  view source on GitHub ↗
(orientation: number)

Source from the content-addressed store, hash-verified

11}
12
13function imageWithOrientation2(orientation: number) {
14 const imageName = `Portrait_${orientation}.jpg`;
15 const path = __dirname + "/images/exif-orientation/" + imageName;
16 return Jimp.read(path);
17}
18
19describe("EXIF orientation", () => {
20 for (let orientation = 1; orientation <= 8; orientation++) {

Callers 1

exif.node.test.tsFile · 0.85

Calls 1

readMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…