How to Convert Image to Uint8List in Flutter
I have Image it not from asset or file I want to convert Image to Uint8List
Something like this could work.
final data = await image.toByteData();
final result = data.buffer.asUint8List();
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.