2

Which class can be used for loading an image for editing purposes so that i can add a text over it and save it again as PNG/ JPEG to storage

Manoj Perumarath
  • 9,337
  • 8
  • 56
  • 77

1 Answers1

0

Load the image the file as an Image then call Image.toByteData

Edit the byte array

then reimage it to decodeImageFromPixels issue 11648

For storage, it is kinda in flux since you have a few choices like sqlite or file directory

https://github.com/flutter/flutter/issues/10495 Flutter save a network image to local directory

I just want to say, image resizing is quite slow in flutter.

https://github.com/brendan-duncan/image/issues/55

https://github.com/flutter/flutter/issues/26194

https://github.com/flutter/flutter/issues/21571#issuecomment-452042242

Flutter. High GPU load with list of high resolution images

user1462442
  • 7,672
  • 1
  • 24
  • 27