I am sorry that i have posted this question in a wrong group. this is a simple java question.
I have an image in database which is actually in the form of hexa decimal. I am getting it as binary stream and converting it to bye array and finally into an iamge. I would like to calculate the size of the image.