• Parameters

    • url: string
    • type: string = 'image/jpeg'
    • quality: any = 0.85

    Returns Promise<{ data: string; height: number; width: number }>