Java Base64 zur Datei

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