diff --git a/README.md b/README.md index 1870556..9c6cb77 100644 --- a/README.md +++ b/README.md @@ -144,6 +144,23 @@ async function custom(context: Context, src: string): Promise { + console.error('Load Failed Reason: ' + err); + } + } + } +}).width(100).height(100) +``` + ## 进阶使用 如果简单的加载一张图像无法满足需求,我们可以看看ImageKnifeOption这个类提供了哪些扩展能力。