2 Replies Latest reply on Aug 15, 2011 1:12 AM by 882277

    using Fx as a library to create and save image


      I wrote an FX desktop app to create an vector image and saved as png. I would like to use this FX program like a library.
      For example, to use it in glassfish managed bean to generate image and saved to a directory. Can this be done? I am wondering how to call FX, pass in parameters, generate and safe the graph WITHOUT firing up as a desktop app.
      Just want to use FX to create an image in buffer image, save and return me a link to that image. Java calling javxFX to produced the required image.

      I already wrote a working FX. Hopefully it works without having to write another apps to do the job.

      Appreciate any help or advise.