Questions tagged [merge-images]

6 questions
1
vote
0 answers

Image merging in plotly with transparency

I'm struggling to come up with a solution using Plotly to reproduce the following code which uses matplotlib. import matplotlib.pyplot as plt import numpy as np plt.figure(figsize=(10, 5), dpi=100) image = np.random.random([300, 5000]) image2 =…
1
vote
0 answers

Couldn't load image when using merge-images

I am using merge-images library to merge images, but it shows below error Couldn't load image The mergeImg method: mergeImg() { mergeImages([ "@/assets/body.png", "@/assets/eyes.png", "@/assets/logo.png", …
CCCC
  • 5,665
  • 4
  • 41
  • 88
0
votes
0 answers

Problem working with images in JavaScript

I must make labels with JavaScript, it is simple. I must join a couple of generated images (QR code and product name), and others that never change (company logo). I have no problem with static images that do not change because they are uploaded to…
Motias
  • 89
  • 9
0
votes
1 answer

How to fix couln't load image when applying merged-images in javascript

I have a base64 image here and already…
COD3
  • 103
  • 4
0
votes
1 answer

TypeError: mergeImages is not a function

I am trying to use this package merge-images to layer images (that I currently have in a temp folder) on top of each other and display it on my localhost webpage. This is my code: const mergeImages = require('merge-images'); const { Canvas, Image }…
0
votes
0 answers

marge-images with canvas in Node.js

I'm trying to use the merge-images script (https://github.com/lukechilds/merge-images) to merge some images into a single one using nodejs. I'm having trouble understanding what ecatly I'm supposed to provide in the then() method of…