Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

114
Vistas
How to save text and image in Vuejs

I currently have an tool to set up which allows the user to upload an image, and then place custom text over it which displays and is editable in the browser. My question is, using VueJS, is it possible to save the image and the text as a separate jpg/png etc, much the same way one would flatten layers in photoshop?

If it helps, here's how I'm displaying the text on the image:

<v-img ref="image" class="mb-5" max-width="700px" @load="updateImageHeight"  :src="imgUrl" style="margin: 0 auto;">
    <div class="row text-center">
        <div class="col-12 text-center">
            <div v-for="input in textInputs" :key="input.id" :style="{position: 'absolute', left:input.left+'px', top: input.top+'px'}">{{ input.text }}</div>
        </div>
     </div>
</v-img>

If it is possible, are there any resources out there to help me make a start on it? Or is it just not possible with Vuejs?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You could use the html2canvas to convert html to image. Also, there is already this mixin html2canvas.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda