Skip to content

API / ImgSplitOption

类型别名: ImgSplitOption

ts
type ImgSplitOption = {
  count?: number;
  forceOuputDataURL?: boolean;
  height?: number;
  items?: ItemOption[];
  src: Buffer | string;
};

分割参数

属性

属性类型描述
count?number-
forceOuputDataURL?boolean默认值 true
height?number默认值 256
items?ItemOption[]-
srcBuffer | string-

Released under the MIT License.