BMP 画像はこちら: https://www.filepicker.io/api/file/fdsYv4NSaCGUefBAQmER
そして、失敗を再現するコード:
var fpfile = { url: 'https://www.filepicker.io/api/file/fdsYv4NSaCGUefBAQmER',
ファイル名: 'customers.jpg'、mimetype: 'image/jpeg'、isWriteable: false、サイズ: 629454};
console.log("変換中...");
/*結果の画像を表示できる要素*/
var result = document.getElementById("convert-result");
filepicker.convert(fpfile, {幅: 200, 高さ: 200},
関数(new_FPFile){
console.log(new_FPFile.url);
result.src = new_FPFile.url;
}
);
ここで私が間違っていることは不明です。どんな助けでも大歓迎です。
ありがとう