Super thank's -----Message d'origine----- De : Greg Brown [mailto:[email protected]] Envoyé : mercredi 26 janvier 2011 14:08 À : [email protected] Objet : Re: Loading Image by byte[]
See the org.apache.pivot.wtk.media.Picture class. It is a concrete subclass of Image that wraps an instance of java.awt.image.BufferedImage. You can create/populate the BufferedImage however you like. Then wrap it in a Picture and call ImageView#setImage(). G On Jan 26, 2011, at 6:46 AM, Jérôme Serré wrote: > Hello, > > To display an image in ImageView I use this method : > iv.setImage(Image.load( > <http://download.oracle.com/javase/6/docs/api/java/net/URL.html?is-external= > true> URL location)); > Is it possible to fill ImageView with an array of bytes or another object > that contain image ? > > Thank you. > > Jérôme > > ____________________________ > La gestion de votre cave > <http://85.216.59.161:8000/cave> http://85.216.59.161:8000/cave > >
