Menu

BufferedImage to NiftyImage?

2012-09-15
2012-09-18
  • Omnisprinter

    Omnisprinter - 2012-09-15

    Is there any possible way to load images dynamically into Nifty without them being on the filesystem??

    Would be nice to convert a bufferedImage with something like this:

    // This does not work
    NiftyImage img = nifty.getRenderEngine().createImage(bufferedImage);
    nifty.getRenderEngine().renderImage(img, 0, 0, 100, 100);//

     

    Last edit: Omnisprinter 2012-09-15
    • Omnisprinter

      Omnisprinter - 2012-09-18

      Still looking for any solution to do this...

      Looks like people using jME got this to work with that system - but have not found anyone doing this using just lwjgl??

       
    • Omnisprinter

      Omnisprinter - 2012-09-18

      I am still looking for anyway to do this using lwjgl.
      It seems there is solution to this when using the jME engine - but not with just lwjgl??

       

Log in to post a comment.