as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
@amazon-devices/expo-image-manipulator provides an API to modify images stored on the local file system.

Installation

  1. Add the JavaScript library dependency in the package.json file. Select the tab for your React Native version.
  1. Reinstall dependencies using npm install command.

Example

The example below demonstrates how to perform a single manipulation on the image.
The example below demonstrates how to perform multiple manipulations on the image.
The example below demonstrates how to specify custom save options.

API reference

Check out the dedicated documentation page for info about this library, API reference and more: Official Expo documentation for expo-image-manipulator.

Methods

Implementation details

  • saveOptions.compress - compress currently doesn’t work on Vega, images are always saved with the highest quality (as if value 1.0 was passed).

Additional resources

For information on additional libraries, see Supported Third-Party Libraries and Services.
最后修改于 2026年10月7日