Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Convert Image object to rgb pixel array and back in Flutter

Is there a way to get an image's rgb matrix representation? and vice versa? I would like to perform image masking/filtering on the original image so it needs to be applied to its rgb matrix representation. Currently using this library to get an image from a device: https://pub.dartlang.org/packages/image_picker

like image 528
user3217522 Avatar asked Sep 24 '17 03:09

user3217522


1 Answers

https://pub.dartlang.org/packages/image provides image conversion and manipulation utility functions.

like image 199
Günter Zöchbauer Avatar answered Oct 07 '22 10:10

Günter Zöchbauer