If null, resized image will be stored in cache folder. On iOS, rotation is limited (and rounded) to multiples of 90 degrees. ![]() Rotation to apply to the image, in degrees, for android. Height to resize to (see mode for more details)Ĭan be either JPEG, PNG or WEBP (android only).Ī number between 0 and 100. Width to resize to (see mode for more details) Path of image file, or a base64 encoded image string prefixed with 'data:image/imagetype' where imagetype is jpeg or png. The URI can be used directly as the source of an component. The promise resolves with an object containing: path, uri, name, size (bytes), width (pixels), and height of the new file. ![]() * This property has been tested with the output of * react-native-vision-camera, and http link **/ uri, maxWidth, maxHeight, compressFormat, quality, ( rotation = 0 ), outputPath, ( keepMeta = false ), ( options = ) ) // Returns a Promise CreateResizedImage ( /** * uri parameter accepts`path` or `uri`.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |