asPicture v3.0 - Save layers or project file - Forum

Forum Navigation
You need to log in to create posts and topics.

asPicture v3.0 - Save layers or project file

Hello!

I am trying to create a system for generating "cards", from a list of data that I have. My idea was to use asPicture to create the card design, which is an image that I imported as a background, and in this have a designer to put the texts with the data.

How can I save the image as it is with the text layers and the positions they have? To later load it and everything is the same, in this way I will use it as a template to generate the cards 1 at a time.

I'm trying with asSaveFileMergeLayers and asLayersLoadFile, saving as .lyr or .all but nothing, loading the file does nothing.

Does anyone know how to do this?

Thank you very much to all!!!

-------------------------------

Hola!

Estoy intentando crear un sistema de generación de "carnets", desde un listado de datos que tengo. Mi idea era usar asPicture para crear lo que es el diseño de la tarjeta, el cual es una imagen que importo como fondo, y en este tener un diseñador para poner los textos con los datos.

 

¿Cómo puedo guardar la imagen tal y como está con las capas de los textos y las posiciones que tienen? Para posteriormente cargarla y que este todo igual, de esta forma lo usaré a modo de plantilla para ir generando los carnets de 1 en 1.

Estoy probando con asSaveFileMergeLayers y asLayersLoadFile, guardando como .lyr o .all pero nada, al cargar el archivo no hace nada.

¿Alguien sabe cómo hacer esto?

Muchas gracias a todos!!!

@joxm si te animas a hacerlo con VisualNEO Web seguramente te resultará más sencillo porque puedes generar un archivo PDF sobre la marcha superponiendo todas las capas que necesites. Hace no mucho hice un generador de carnés (puedes verlo pinchando aquí).
Saludos!!

You need something like this?  //  Necesitas algo como esto?

Uploaded files:
  • You need to login to have access to uploads.

Agregando tus propios datos en la plantilla

Adding your own data to the template

Uploaded files:
  • You need to login to have access to uploads.

Generador de las credenciales

Credential generator

Uploaded files:
  • You need to login to have access to uploads.
JoxM has reacted to this post.
JoxM

Muchas gracias a ambos! @daviddeargentina @luishp

David ese sistema tiene una pinta increíble. Se me ocurren muchas cosas con eso...

Al final, dando muchas vueltas he conseguido hacerlo. Usando AsPicture y añadiendo los textos con coordenadas exactas del lienzo funciona bien. Después genero el pdf con npPdfs y el resultado es genial.

Luís, la cosa es que esto es una implementación para un software de escritorio el cual ejecutará esto en cierto proceso pasándole por línea de comandos la ruta del csv, sino, hubiese usado visualneo web. FabricJS me hubiese ayudado mucho y seguramente con mejores resultados finales.

Muchas gracias de nuevo! Seguimos!

--

Thank you very much to both! @daviddeargentina @luishp

David, that system looks incredible. A lot of things come to mind with that...

In the end, after a lot of thinking, I managed to do it. Using AsPicture and adding the texts with exact canvas coordinates works fine. Then I generate the pdf with npPdfs and the result is great.

Luís, the thing is that this is an implementation for a desktop software which will execute this in a certain process by passing the csv path through the command line, otherwise, I would have used visualneo web. FabricJS would have helped me a lot and surely with better final results.

Thank you very much again! We continue!

Uploaded files:
  • You need to login to have access to uploads.
Open chat
1
Do you need more info?
Hi, do you have any doubt?