I have a piece of code where I am covering an image into a List in order to store it in the device's memory. I then pull this list back out and would like to use it. I am current;y using MemoryImage(bytes)
where bytes is the variable for List. There is currently no error being thrown however, the image does not show up regardless. Is there a better method for this action?
Asked
Active
Viewed 354 times
0

tyler powell
- 130
- 1
- 12
-
can you tell is this a network image loaded via a URL or a capture image? – thusith.92 Jun 09 '20 at 01:49
-
This is an Image gotten with the Image_picker tool and being kept as a File variable. – tyler powell Jun 09 '20 at 16:34
-
did you try this? https://stackoverflow.com/a/51338178/2043275 – thusith.92 Jun 09 '20 at 21:38
-
Thank you very much for your response! After I reworked my code to fit that answer I was able to save the image. Thank you! – tyler powell Jun 10 '20 at 23:05
1 Answers
0
The solution given in the comments from thusith.92 was a correct solution. Instead of placing the image into the database, I stored the path of the image and simply used the systems built-in storage.

tyler powell
- 130
- 1
- 12