View Full Version : customize picture
Peter_Chea
06-16-2004, 01:55 PM
Hi Antun, I am trying to write an application to a user to customize a picture with different images, and texts that is similar to http://www.wilsonjones.com/html/4624.html. My main concern is the printed output. I am not sure how to convert the customize result into PDF or jpg? Any ideas?
antun
06-16-2004, 03:10 PM
I'm not 100% sure what you're asking. Are you asking how to convert a Laszlo app to a PDF or JPEG? There isn't a way to do this.
You could generate an image on the server using a server-side image manipulation program that put a JPEG (or even PDF) together based on some coordinates from the Laszlo app.
-Antun
Peter_Chea
06-16-2004, 03:54 PM
Sorry I was being unclear. I was asking if I can save a view that contain subviews as a jpg. But I guess the answer is no to that.
antun
06-16-2004, 03:56 PM
No, the LPS can't render the SWF on the server, nor does it have any file-writing APIs.
Like I said, you could write a XML HTTP service that accepted the relative coordinates of the subviews, along with their image URLs, and have some server-side image manipulation software put the image together. ImageMagick springs to mind:
http://www.imagemagick.org/
-Antun
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.