- downloadImage(
url: string,
type?: string,
quality?: any,
): Promise<{ data: string; height: number; width: number }> Parameters
- url: string
- type: string = 'image/jpeg'
- quality: any = 0.85
Returns Promise<{ data: string; height: number; width: number }>