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

180
Views
Cómo cambiar el color de fondo del lienzo en el complemento de creador de imágenes

Estoy usando un complemento de imageMaker. Este es el enlace de referencia del complemento. https://www.jqueryscript.net/other/image-merge-edit-draw-maker.html En esto, en lugar de cambiar y editar una imagen, tengo que cambiar el color de fondo del lienzo. En el archivo js hay una opción para hacerlo completamente negro. Pero también es Imagen. Básicamente, quiero que el lienzo se llene de color en lugar de Imagen.

 canvas_info.templates.push({url:'data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs', 'title': 'Empty black'});

Comenté MemeGeneratorAPI.canvas_addimage(); en el archivo js e intenté agregar el siguiente código para reemplazarlo con color. Pero no funcionó. Buscando una solución para esto. ¡Gracias por adelantado!

 // MemeGeneratorAPI.canvas_addimage(); canvas_info.ctx.rect(20,20, image_info.width, image_info.height); canvas_info.ctx.stroke(); canvas_info.ctx.fillStyle = "#FF0000"; canvas_info.ctx.fillRect(20, 20, image_info.width, image_info.height);
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!