Reputation: 3920
please anyone help me to convert an image url to binary format and converted binary to image url..Iam using java ...please reply
Upvotes: 0
Views: 1081
Reputation: 120
You can use URLConnection to read it into a BufferedInputStream or output it into a File using a FileOutputStream.
URLConnection
BufferedInputStream
FileOutputStream
Sample code that demonstrates how this can be done is available at this java2.com tutorial
Upvotes: 2