diff --git a/src/main/java/org/ntlab/acanthus_server/utils/Base64Decode.java b/src/main/java/org/ntlab/acanthus_server/utils/Base64Decode.java index 8ab8b7b..cbe040a 100644 --- a/src/main/java/org/ntlab/acanthus_server/utils/Base64Decode.java +++ b/src/main/java/org/ntlab/acanthus_server/utils/Base64Decode.java @@ -27,12 +27,12 @@ System.out.println("3 koregarogu" + path.toString()); //ファイルに画像データを書き込む -// FileOutputStream file1 = new FileOutputStream(file, false); -// BufferedOutputStream bf = new BufferedOutputStream(file1); -// bf.write(dedata, 0, dedata.length); + FileOutputStream file1 = new FileOutputStream(file, false); + BufferedOutputStream bf = new BufferedOutputStream(file1); + bf.write(dedata, 0, dedata.length); //ファイルを閉じる -// bf.close(); + bf.close(); // //セーブしたファイルの相対パスを文字列として返す return path;