Invalid or unsupported image file format!とエラーが出る場合
どうすれば書き込むことが出来ますか?