Home > OS >  Under Linux images base64 decoding problems
Under Linux images base64 decoding problems

Time:09-16

Are porting Windows programs to Linux, the client will image encoded in base64 encoding to the server, the server will receive the base64 encoding of store image after image decoding,
Two pictures, a large picture (1440 * 1080), a small image (100 *) 50,
1. Call the same base64 codec library, Windows platform everything is normal, but the small images under Linux is normal, after the big image decoding is NULL;
2. To use a base64 decoding library decoding is still the same, small images under Linux is normal, after the big image decoding is NULL;
3. The program of decoding base64 code stored, with own base64 decoding can be normal under Linux images;
4. By encoding different pictures, to the service side, small images under Linux is normal, after the big image decoding is NULL,
I ask you, have met this kind of situation? Whether there is the right solution?

CodePudding user response:

Update, not a base64 decoding problem, the reason is to parse the XML data, encoded data is missing, is continuing to follow up
  • Related