[codenameone-discussions] Re: getBytesFromImage conversion always off by one byte (source is one byte greater)

2019-06-28 Thread shop . service . assistant
On Thursday, June 27, 2019 at 5:03:51 PM UTC-4, shop.servi...@gmail.com wrote: > > If you are experiencing an issue please mention the full platform your > issue applies to: > IDE: NetBeans/Eclipse/IDEA NetBeans 8.2 > Desktop OS Windows 10 Pro > Simulator Latest > Device PC, Android & IOS > > I

[codenameone-discussions] Re: getBytesFromImage conversion always off by one byte (source is one byte greater)

2019-06-28 Thread shop . service . assistant
Thank you very much! On Thursday, June 27, 2019 at 11:38:46 PM UTC-4, Shai Almog wrote: > > That method re-encodes a PNG which can have a different byte count than > the one in your original image. If you use EncodedImage you can use use > getData() to get the original image file. > -- You rec

[codenameone-discussions] Re: getBytesFromImage conversion always off by one byte (source is one byte greater)

2019-06-27 Thread Shai Almog
That method re-encodes a PNG which can have a different byte count than the one in your original image. If you use EncodedImage you can use use getData() to get the original image file. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group