Skip to content

Commit

Permalink
types: added remaining types for OverlayOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
ike-gg committed Apr 1, 2024
1 parent edfbc7e commit f24dd3b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/index.d.ts
Expand Up @@ -1479,8 +1479,14 @@ declare namespace sharp {
tile?: boolean | undefined;
/** Set to true to avoid premultipling the image below. Equivalent to the --premultiplied vips option. */
premultiplied?: boolean | undefined;
/** number representing the DPI for vector overlay image. (optional, default 72)*/
density?: number | undefined;
/** Set to true to read all frames/pages of an animated image. (optional, default false) */
animated?: boolean | undefined;
/** see sharp() constructor, (optional, default 'warning') */
failOn?: FailOnOptions | undefined;
/** see sharp() constructor, (optional, default 268402689) */
limitInputPixels?: number | boolean | undefined;
}

interface TileOptions {
Expand Down

0 comments on commit f24dd3b

Please sign in to comment.