Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

[WM 22] Encode Base 64 (no replies)

$
0
0
Good afternoon,
I'm having some problems when encrypting an Image in Base64, I can't get it to work, it creates a very long string, longer than other Base64 Encoded images I've seen, and it isn't encoding the complete image, only a very little part at the top is visible. Here is my code:

bufFoto is Buffer = dLoadImage("C:\Users\LuisITP\Documents\xt1254\11a.jpg")

buf64 is Buffer = Crypt(bufFoto,"",compressNone + cryptNone,encodeBASE64)

Right now my path is written just for test. Any help would be appreciated.

TIA

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>