I have a base64 image
here and it has already been converted.
data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxQSEhUTEhQWFhUXGBoaGBgYGBcXGhgXGBgYGhgbHhoZHiggGholHhgYITEhJSkrLi4uHR8zODMtNygtLisBCgoKDg0OGhAQGi0lICUtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLf/AABEIALcBEwMBIgACEQEDEQH/xAAcAAACAgMBAQAAAf8Fc1uAAwFGwQThSgakCKVWkw41loIikhLQ2iBUtypz8tze6Cfa6MFVVbSM1CCgKEgUjV4IISk8Ikp3lyLMhhIMqyh0iYZUf/9k=
and every time I attempt to use it with merge-images
, I receive the following error:
core.mjs:6494 ERROR Error: Uncaught (in promise): Error: Couldn't load image
here is the code:
const mergedImage = await mergeImages([base64]);
console.log(mergedImage)