@eris/image
Advanced tools
Comparing version 0.4.2 to 0.4.3-alpha.0
@@ -0,0 +0,0 @@ background |
import { ICompositionAnalysis, ICompositionOptions } from '../types'; | ||
import { SobelImageData } from '../transforms/sobel'; | ||
export declare function composition(imageData: SobelImageData, options?: ICompositionOptions): ICompositionAnalysis; |
@@ -0,0 +0,0 @@ "use strict"; |
import { IAnnotatedImageData } from '../image-data'; | ||
import { IFaceAnalysisEntry, IFaceAnalysisOptions } from '../types'; | ||
export declare const detectFaces: (imageData: IAnnotatedImageData, options?: IFaceAnalysisOptions | undefined) => Promise<IFaceAnalysisEntry[]>; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { IAnnotatedImageData } from '../image-data'; |
@@ -0,0 +0,0 @@ "use strict"; |
import { IAnnotatedImageData } from '../image-data'; | ||
import { IHistogramsAnalysis, IHistogramOptions } from '../types'; | ||
export declare function histograms(rawImageData: IAnnotatedImageData, options?: IHistogramOptions): IHistogramsAnalysis; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { IAnnotatedImageData } from '../image-data'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { IAnnotatedImageData } from '../image-data'; |
@@ -0,0 +0,0 @@ "use strict"; |
import { IAnnotatedImageData } from '../image-data'; | ||
import { ISceneAnalysisEntry } from '../types'; | ||
export declare function detectScene(imageData: IAnnotatedImageData): Promise<ISceneAnalysisEntry[]>; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { ISharpnessAnalysis, ISharpnessOptions } from '../types'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { BufferLike, IMetadata } from './types'; |
@@ -0,0 +0,0 @@ "use strict"; |
import './shims/buffer'; | ||
export { BrowserImage as Image } from './browser-image'; | ||
export * from './shared-index'; |
@@ -0,0 +0,0 @@ "use strict"; |
import './shims/buffer'; | ||
export { BrowserImage as Image } from './browser-image'; | ||
export * from './shared-index'; |
@@ -0,0 +0,0 @@ import { IAnnotatedImageData } from '../image-data'; |
@@ -0,0 +0,0 @@ "use strict"; |
import { INoiseOptions } from '../types'; | ||
import { IAnnotatedImageData } from '../image-data'; | ||
export declare function noise(width: number, height: number, options?: INoiseOptions): IAnnotatedImageData; |
@@ -0,0 +0,0 @@ "use strict"; |
import { BufferLike } from './types'; | ||
export declare function writeFileAsync(file: string, buffer: BufferLike): Promise<{}>; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Colorspace, BufferLike, IPixel, ColorChannel, IFormatOptions, ICalibrationProfile, IPixelCoordinate, IGreyscalePixel, MapPixelFn } from './types'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import * as types from './types'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export interface IMethodHookParams { |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export declare type FlatMatrix = number[]; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import * as sharp from 'sharp'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export { NodeImage as Image } from './node-image'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import * as _types from './types'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import * as sharp from 'sharp'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ // tslint:disable |
export declare function decode(buffer: Uint8Array | string): Promise<ImageData>; | ||
export declare function encode(imageData: ImageData, dataType: string, quality?: number): Promise<Uint8Array>; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ // tslint:disable |
export {}; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=empty.js.map |
/// <reference types="node" /> | ||
export declare function writeFile(file: string, buffer: Buffer): void; |
@@ -0,0 +0,0 @@ "use strict"; |
export declare function decode(buffer: Uint8Array): Promise<ImageData>; | ||
export declare function encode(imageData: ImageData, quality: number): Promise<Uint8Array>; |
@@ -0,0 +0,0 @@ "use strict"; |
export declare class PNG { | ||
static readonly sync: any; | ||
} |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export interface INumberGenerator { |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { IBlurOptions } from '../types'; |
@@ -0,0 +0,0 @@ "use strict"; |
import { IAnnotatedImageData } from '../image-data'; | ||
import { ICalibrationOptions } from '../types'; | ||
export declare function calibrate(imageData: IAnnotatedImageData, options: ICalibrationOptions): IAnnotatedImageData; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { ICannyOptions } from '../types'; |
@@ -0,0 +0,0 @@ "use strict"; |
import { Matrix } from '../matrix'; | ||
import { IAnnotatedImageData } from '../image-data'; | ||
export declare function convolve(imageData: IAnnotatedImageData, flatOrDeepMatrix: Matrix): IAnnotatedImageData; |
@@ -0,0 +0,0 @@ "use strict"; |
import { INormalizeOptions } from '../types'; | ||
import { IAnnotatedImageData } from '../image-data'; | ||
export declare function normalize(imageData: IAnnotatedImageData, options?: INormalizeOptions): IAnnotatedImageData; |
@@ -0,0 +0,0 @@ "use strict"; |
import { IAnnotatedImageData } from '../image-data'; | ||
export declare function opacity(background: IAnnotatedImageData, foreground: IAnnotatedImageData, opacity: number): IAnnotatedImageData; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { IResizeOptions } from '../types'; |
@@ -0,0 +0,0 @@ "use strict"; |
import { ISharpenOptions } from '../types'; | ||
import { IAnnotatedImageData } from '../image-data'; | ||
export declare function sharpen(imageData: IAnnotatedImageData, options: ISharpenOptions): IAnnotatedImageData; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { ISobelOptions } from '../types'; |
@@ -0,0 +0,0 @@ "use strict"; |
import { IAnnotatedImageData } from '../image-data'; | ||
import { ISubselectOptions } from '../types'; | ||
export declare function subselect(imageData: IAnnotatedImageData, options: ISubselectOptions): IAnnotatedImageData; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { IAnnotatedImageData } from '../image-data'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /// <reference types="node" /> |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export declare function hasWASM(): boolean; |
@@ -0,0 +0,0 @@ "use strict"; |
export declare function registerNodeWASM(): Promise<void>; |
@@ -0,0 +0,0 @@ "use strict"; |
module.exports = require('../../jest.config') |
@@ -0,0 +0,0 @@ import {ICompositionAnalysis, ICompositionOptions} from '../types' |
@@ -0,0 +0,0 @@ monkeyPatchConsoleWarn() |
@@ -0,0 +0,0 @@ import {IAnnotatedImageData, ImageData} from '../image-data' |
@@ -0,0 +0,0 @@ import {IAnnotatedImageData, ImageData} from '../image-data' |
@@ -0,0 +0,0 @@ monkeyPatchConsoleWarn() |
@@ -0,0 +0,0 @@ import {IAnnotatedImageData, ImageData} from '../image-data' |
@@ -0,0 +0,0 @@ monkeyPatchConsoleWarn() |
@@ -0,0 +0,0 @@ import {ISharpnessAnalysis, ISharpnessOptions} from '../types' |
@@ -0,0 +0,0 @@ import {BufferLike, IMetadata, ImageResizeMethod, DEFAULT_FORMAT, ImageFormat} from './types' |
import './shims/buffer' | ||
export {BrowserImage as Image} from './browser-image' | ||
export * from './shared-index' |
@@ -0,0 +0,0 @@ import {IAnnotatedImageData, ImageData} from '../image-data' |
@@ -0,0 +0,0 @@ import {INoiseOptions, Colorspace} from '../types' |
@@ -0,0 +0,0 @@ import {BufferLike} from './types' |
@@ -0,0 +0,0 @@ import { |
@@ -0,0 +0,0 @@ import * as types from './types' |
@@ -0,0 +0,0 @@ export interface IMethodHookParams { |
@@ -0,0 +0,0 @@ export type FlatMatrix = number[] |
@@ -0,0 +0,0 @@ import * as sharp from 'sharp' |
@@ -0,0 +0,0 @@ export {NodeImage as Image} from './node-image' |
@@ -0,0 +0,0 @@ import * as _types from './types' |
@@ -0,0 +0,0 @@ import * as sharp from 'sharp' |
// tslint:disable | ||
// @ts-ignore | ||
self.Buffer = require('buffer/').Buffer |
@@ -0,0 +0,0 @@ function getCanvas(): HTMLCanvasElement { |
@@ -0,0 +0,0 @@ // tslint:disable |
export {} |
export function writeFile(file: string, buffer: Buffer): void { | ||
throw new Error('unimplemented') | ||
} |
@@ -0,0 +0,0 @@ import {decode as canvasDecode, encode as canvasEncode} from './canvas-encoder' |
@@ -0,0 +0,0 @@ import {decode as canvasDecode, encode as canvasEncode} from './canvas-encoder' |
@@ -0,0 +0,0 @@ // A port of an algorithm by Johannes Baagøe <baagoe@baagoe.com>, 2010 |
@@ -0,0 +0,0 @@ /* tslint:disable */ |
@@ -0,0 +0,0 @@ /* tslint:disable */ |
@@ -0,0 +0,0 @@ /* tslint:disable */ |
@@ -0,0 +0,0 @@ /* tslint:disable */ |
@@ -0,0 +0,0 @@ import {Colorspace, INormalizeOptions} from '../types' |
@@ -0,0 +0,0 @@ import {IAnnotatedImageData, ImageData} from '../image-data' |
@@ -0,0 +0,0 @@ /* tslint:disable */ |
@@ -0,0 +0,0 @@ import {ISharpenOptions} from '../types' |
@@ -0,0 +0,0 @@ /* tslint:disable */ |
@@ -0,0 +0,0 @@ /* tslint:disable */ |
@@ -0,0 +0,0 @@ /* tslint:disable */ |
@@ -0,0 +0,0 @@ import {INormalizedMetadata} from '@eris/exif' |
@@ -0,0 +0,0 @@ /* tslint:disable strict-type-predicates */ |
@@ -0,0 +0,0 @@ import {resolve} from 'path' |
{ | ||
"name": "@eris/image", | ||
"version": "0.4.2", | ||
"version": "0.4.3-alpha.0", | ||
"description": "Collection of image manipulation libraries for node and the browser.", | ||
@@ -33,3 +33,3 @@ "main": "./dist/node-index.js", | ||
"dependencies": { | ||
"@eris/exif": "0.4.2", | ||
"@eris/exif": "0.4.3-alpha.0", | ||
"@tensorflow/tfjs-automl": "^1.0.0", | ||
@@ -63,3 +63,3 @@ "@tensorflow/tfjs-node": "1.5.1", | ||
}, | ||
"gitHead": "e6b7781817ee95d7d15fea768dc38582ea4ff1de" | ||
"gitHead": "331d7227aadb3f696f4215a0b56cb4598703b798" | ||
} |
@@ -0,0 +0,0 @@ # image |
@@ -0,0 +0,0 @@ const path = require('path') |
@@ -0,0 +0,0 @@ const fs = require('fs') |
@@ -0,0 +0,0 @@ const fs = require('fs') |
@@ -0,0 +0,0 @@ const fs = require('fs') |
@@ -0,0 +0,0 @@ const fs = require('fs') |
@@ -0,0 +0,0 @@ const _ = require('lodash') |
@@ -0,0 +0,0 @@ const fs = require('fs') |
@@ -0,0 +0,0 @@ const fs = require('fs') |
@@ -0,0 +0,0 @@ const fs = require('fs') |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ # |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
47378752
+ Added@eris/exif@0.4.3-alpha.0(transitive)
+ Added@types/node@22.10.5(transitive)
+ Addedtar-fs@2.1.1(transitive)
- Removed@eris/exif@0.4.2(transitive)
- Removed@types/node@22.10.7(transitive)
- Removedtar-fs@2.1.2(transitive)
Updated@eris/exif@0.4.3-alpha.0