📌  相关文章
📜  reisze image expo react native - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:21.334000             🧑  作者: Mango

代码示例1
const resizedPhoto = await ImageManipulator.manipulateAsync(
 photo.uri,
 [{ resize: { width: 300 } }], // resize to width of 300 and preserve aspect ratio 
 { compress: 0.7, format: 'jpeg' },
);