How to convert blob image into binarybase64 in java?
I have image in blob format from DB , i am holding that blob image in byte array and converting it to Binary Base64 format. For encoding the blob to binary base 64 I am using below code, byte[] imageByte = getblob();//from DB byte[] encodedImage = Base64.encodeBase64(imageByte); is there any other way to do it or am doing it in right way please help me?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.