📜  转换 base64 抖动相机图像 - 任何代码示例

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

代码示例1
var image = await ImagePicker.pickImage(source: ImageSource.gallery);
    final bytes = Io.File(image.path).readAsBytesSync();
    String img64 = base64Encode(bytes);
    print (img64);