MCPcopy Create free account
hub / github.com/dariyd/react-native-document-scanner / ImageObject

Interface ImageObject

index.d.ts:4–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2// Project: https://github.com/dariyd/react-native-document-scanner
3
4export interface ImageObject {
5 /**
6 * The base64 string of the image (only if includeBase64 option is true)
7 */
8 base64?: string;
9
10 /**
11 * The file URI in app specific cache storage
12 */
13 uri: string;
14
15 /**
16 * Image width in pixels
17 */
18 width: number;
19
20 /**
21 * Image height in pixels
22 */
23 height: number;
24
25 /**
26 * The file size in bytes
27 */
28 fileSize: number;
29
30 /**
31 * The file MIME type (e.g., "image/jpeg")
32 */
33 type: string;
34
35 /**
36 * The file name
37 */
38 fileName: string;
39
40 /**
41 * EXIF metadata of the image (only if includeExif option is true)
42 * Contains timestamps, device info, dimensions, and optionally GPS data
43 */
44 exif?: Record<string, any>;
45}
46
47export interface ScanResult {
48 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected