imagerot
Version:
A lightweight, cross-environment image library for applying unique effects via raw image buffers.
10 lines (9 loc) • 378 B
TypeScript
import { IRotItem, TEffectOptions, TEffectPoolItem } from '../../../types';
declare const useEffect: ({ data, width, height }: IRotItem, effectPool: {
[key: string]: TEffectPoolItem;
}, effect: string | string[], options: TEffectOptions | TEffectOptions[]) => Promise<{
data: Uint8Array<ArrayBufferLike>;
width: number;
height: number;
}>;
export { useEffect };