0

So I am using Dart's image package to manipulate an JPG image which was loaded and decoded. Filtering the image works perfectly fine, however, display the image seems to be somewhat slow.

The idea was to use Flutter's Image widget in combination with a MemoryImage a la:

Image.memory(bytes)

bytes must be a binary representation of the image, e.g., PNG, JPG etc. and is not compatible with the image library's internal uint32 storage format or a simple bitmap. As a result, one is required to encode the bitmap back to a JPG which is pretty slow.

Is there a more efficient way of doing this?

Basic Coder
  • 10,882
  • 6
  • 42
  • 75

0 Answers0