Image from byt[] - byte[] from Image

How can I:Construct an Image from byte[]?And get byte[] from an Image?I've found some examples but none of them fit my need completely.The final goal of mine is to read an Image from a BLOB and resize it (making thumbnail) without any intermediate file.
[289 byte] By [Ehsuna] at [2007-11-27 4:39:26]
# 1
The solution of this problem is here: http://forum.java.sun.com/thread.jspa?threadID=617676&messageID=3452201
Makaraya at 2007-7-12 9:50:06 > top of Java-index,Security,Cryptography...