Skip to content

Commit

Permalink
Update Image.nitro.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed Jul 19, 2024
1 parent 6591a6d commit bbaffa2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-native-nitro-image/src/specs/Image.nitro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export interface Image extends HybridObject<{ ios: 'c++' }> {
readonly pixelFormat: PixelFormat

toArrayBuffer(format: ImageFormat): ArrayBuffer
saveToFile(path: string): Promise<void>
}

export const ImageFactory = NitroModules.get<Image>()

0 comments on commit bbaffa2

Please sign in to comment.