aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes how to convert byte array to images Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to convert byte array to images" Watch "how to convert byte array to images" New topic
Author

how to convert byte array to images

Amirtharaj Chinnaraj
Ranch Hand

Joined: Sep 28, 2006
Posts: 236
hi folks

i want to display some images in the jsp. by taking

the images from DataBase ,i already inserted the image into

the dataBase as a BLOB and i have retrived the image from DataBase

as a byte array

now i dont no how to convert the byte array to image

iam using struts and hibernate

eagerly waiting for your replies
jacky ustb
Greenhorn

Joined: Nov 15, 2006
Posts: 2
byte[] image;
...
Response.Clear();
Response.BinaryWrite(image);
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to convert byte array to images