Gaëtan Renaudeau před 7 roky
rodič
revize
998fd0ccf0
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      README.md

+ 1
- 1
README.md Zobrazit soubor

@@ -34,7 +34,7 @@ Returns a Promise of the image URI.
34 34
 
35 35
 - **`view`** is a reference to a React Native component.
36 36
 - **`options`** may include:
37
- - **`width`** / **`height`** *(number)*: the width and height of the image to capture.
37
+ - **`width`** / **`height`** *(number)*: the width and height of the final image (resized from the View bound. don't provide it if you want the original pixel size).
38 38
  - **`format`** *(string)*: either `png` or `jpg`/`jpeg` or `webm` (Android). Defaults to `png`.
39 39
  - **`quality`** *(number)*: the quality. 0.0 - 1.0 (default). (only available on lossy formats like jpeg)
40 40
  - **`result`** *(string)*, the method you want to use to save the snapshot, one of: