UNPKG

@oguzhnatly/react-native-image-manipulator

Version:

ImageManipulator for react native without Expo and Unimodules. Based on Expo ImageManipulator

31 lines (30 loc) 723 B
export type RNImageManipulatorResult = { uri: string; width: number; height: number; base64?: string; }; declare const _default: { manipulate(uri: string, actions: Array<{ resize?: { width?: number; height?: number; }; rotate?: number; flip?: { vertical?: boolean; horizontal?: boolean; }; crop?: { originX?: number; originY?: number; width?: number; height?: number; }; }>, saveOptions: { compress?: number; format?: 'jpeg' | 'png'; base64?: boolean; }): Promise<RNImageManipulatorResult>; }; export default _default;