API / imgsplit
Function: imgsplit()
Call Signature
ts
function imgsplit(imgurl: string, height?: number): Promise<OuputDataType[]>;
image split
Parameters
Parameter | Type | Description |
---|---|---|
imgurl | string | image URL |
height? | number | item height |
Returns
Promise
<OuputDataType
[]>
Call Signature
ts
function imgsplit(buffer: Buffer, height?: number): Promise<OuputDataType[]>;
image split
Parameters
Parameter | Type | Description |
---|---|---|
buffer | Buffer | buffer |
height? | number | item height |
Returns
Promise
<OuputDataType
[]>
Call Signature
ts
function imgsplit(options: ImgSplitOption): Promise<OuputDataType[]>;
image split
Parameters
Parameter | Type | Description |
---|---|---|
options | ImgSplitOption | options |
Returns
Promise
<OuputDataType
[]>