From 6f534f28f04825bc79c8fbe2e1a607c247735366 Mon Sep 17 00:00:00 2001 From: Ishaan Kapur <64529428+ishaanlabs-gg@users.noreply.github.com> Date: Wed, 1 Jul 2026 09:47:06 +0530 Subject: [PATCH] docs: update crop options example --- plugins/plugin-crop/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/plugin-crop/src/index.ts b/plugins/plugin-crop/src/index.ts index e4d0dba7..221716ac 100644 --- a/plugins/plugin-crop/src/index.ts +++ b/plugins/plugin-crop/src/index.ts @@ -41,14 +41,14 @@ export type AutocropOptions = number | AutocropComplexOptions; export const methods = { /** - * Crops the image at a given point to a give size. + * Crops the image at a given point to a given size. * * @example * ```ts * import { Jimp } from "jimp"; * * const image = await Jimp.read("test/image.png"); - * const cropped = image.crop(150, 100); + * const cropped = image.crop({ x: 50, y: 50, w: 150, h: 100 }); * ``` */ crop(image: I, options: CropOptions) {