java base64 для подачи

byte[] data = Base64.decodeBase64(base64Img);
try (OutputStream stream = new FileOutputStream("c:/xxxx/xxxx.xx")) {
    stream.write(data);
}
Zealous Zebra