utils/converters library

Functions

fetchImageAsUint8List(String imageUrl) Future<Uint8List>
Fetches an image from a network URL as a Uint8List.
loadAssetImageAsUint8List(String assetPath) Future<Uint8List>
Loads an image asset as a Uint8List.
readFileAsUint8List(File file) Future<Uint8List>
Reads a file as a Uint8List.