This content has been marked as final.
Show 2 replies
-
1. Re: problem in displaying byte data in a4j:mediaOutput
strannik Jan 15, 2009 12:42 PM (in response to orkun)You can use ImageIcon class and pass your byte array to ImageIcon constrcutor. After that the following code will work for you
ImageIcon icon = new ImageIcon(imgByt2); Image image = icon.getImage(); graphics2D.drawImage(image, 0, 0, null);
-
2. Re: problem in displaying byte data in a4j:mediaOutput
nbelaevski Jan 15, 2009 1:15 PM (in response to orkun)Hi,
Just write bytes into output stream as is.