3 Commits

Author SHA1 Message Date
Todd Volkert
cf5661d4ae Support different encodings in Image.toByteData() (flutter/engine#5060)
Fixes https://github.com/flutter/flutter/issues/16635
2018-04-20 19:47:27 -07:00
Todd Volkert
f10bdfbf77 Return raw (unencoded) bytes in Image.toByteData() (flutter/engine#5008)
Building image encoding into the engine bloated the
binary size. This change will return raw bytes, and
callers who use this functionality can take on the
dependency on image encoding in their apps (via a
Dart package or a platform plugin).

Fixes https://github.com/flutter/flutter/issues/16537
2018-04-16 12:39:46 -07:00
Majid Valipour
9eae92b797 Enable Image encoding by leveraging existing Skia functionality (flutter/engine#4762)
Add Image.toByeData()

Fixes flutter/flutter#11648
2018-04-05 17:26:49 -07:00