* Generate a thumbnail for a given image * @link https://getstream.io/activity-feeds/docs/node/files_introduction/?language=js#image_processing * @param {string} uri * @param {number|string} w * @param {number|string} h * @param {Object} [options]
(
uri: string,
w: number | string,
h: number | string,
{ crop, resize } = { crop: 'center', resize: 'clip' },
)
| 79 | * @param {Object} [options] |
| 80 | */ |
| 81 | thumbnail( |
| 82 | uri: string, |
| 83 | w: number | string, |
| 84 | h: number | string, |
| 85 | { crop, resize } = { crop: 'center', resize: 'clip' }, |
| 86 | ) { |
| 87 | return this.process(uri, { w, h, crop, resize }); |
| 88 | } |
| 89 | } |
no test coverage detected