This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
Expo ImageManipulator
提供用于在本地文件系统上进行图片操作的 API 的库。
Android
iOS
tvOS
Web
Included in Expo Go
Recommended version:
~58.0.13
expo-image-manipulator 提供了一个 API 用于修改存储在本地文件系统中的图片。
安装
🌐 Installation
Terminal
If you are installing this in an existing React Native app, make sure to install expo in your project.
用法
🌐 Usage
这将首先将图片顺时针旋转 90 度,然后垂直翻转旋转的图片并将其另存为 PNG。
🌐 This will first rotate the image 90 degrees clockwise, then flip the rotated image vertically and save it as a PNG.
Basic ImageManipulator usage
应用接口
🌐 API
import * as ImageManipulator from 'expo-image-manipulator';
No API data file found, sorry!