Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

91
Views
Download canvas as image

I want to download canvas as image and one of objects in canvas is an image get it from S3 with "https"

I'm using canvas.toDataURL(...), but it is not working when the image is outside the machine. Any suggestion for the below.

Note: I'm using fabricJS to build the canvas.

    const canvasImage = canvas
    .toDataURL({
      format: "png",
      multiplier: canvasWidth / canvas.getWidth()
    })
    .replace("image/png", "image/octet-stream")
  const link = document.createElement("a")
  link.download = "my-image.png"
  link.href = canvasImage
  link.click()
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!