Good point. I am using ImageViewer to Display pics. ImageViewer only accepts Image objects.
Converting Image to bytes and back are not reliable. However EncodedImage in place of Image does work. EncodedImage.createFromImage(viewer.getImage(),false) Thanks. Regards On Saturday, July 6, 2019 at 11:22:28 PM UTC-4, Shai Almog wrote: > > That's a method of EncodedImage, check how you create/load the image. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/46efe866-c81d-4087-96ab-d0ea77c02a64%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
