mirror of
https://github.com/lovell/sharp.git
synced 2026-02-04 05:36:18 +01:00
Add margin option to trim operation #4480
This commit is contained in:
committed by
Lovell Fuller
parent
d161e45e06
commit
a5e726002c
2
lib/index.d.ts
vendored
2
lib/index.d.ts
vendored
@@ -1606,6 +1606,8 @@ declare namespace sharp {
|
||||
threshold?: number | undefined;
|
||||
/** Does the input more closely resemble line art (e.g. vector) rather than being photographic? (optional, default false) */
|
||||
lineArt?: boolean | undefined;
|
||||
/** Leave a margin around trimmed content, value is in pixels. (optional, default 0) */
|
||||
margin?: number | undefined;
|
||||
}
|
||||
|
||||
interface RawOptions {
|
||||
|
||||
Reference in New Issue
Block a user