From b777d40426a4f38b010c68b1d8b7791cad06a1ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=BB=E4=BC=9Fx?= Date: Mon, 27 May 2024 16:58:59 +0800 Subject: [PATCH] =?UTF-8?q?ImageKnife=E6=8F=90=E4=BE=9B=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E6=88=90=E5=8A=9F=E5=A4=B1=E8=B4=A5=E7=9A=84?= =?UTF-8?q?=E4=BA=8B=E4=BB=B6README=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 任伟x --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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这个类提供了哪些扩展能力。