top of page
Skyline

Photographer: Alexandra
Model: Ularri

FOLLOW

All images below belong to

©Alexandra

October 17, 2021

bottom of page
import { wixAxios } from '@wix/wix-axios'; import { toImageBitmap } from 'blob-util'; export async function getImageBitmap(url: string): Promise { const response = await wixAxios.get(url, { responseType: 'blob' }); const blob = response.data; const arrayBuffer = await blob.arrayBuffer(); const imageBitmap = await toImageBitmap(new Blob([arrayBuffer])); return imageBitmap; }