Hello,

I try to get an Image from a google book in java, but it doesn't work:

URL url = new URL("http://books.google.com/books?id=JJFup6QTi-
sC&printsec=frontcover&img=1&zoom=1");
           sourceImage = ImageIO.read(url);

everytime i get a

javax.imageio.IIOException: Can't get input stream from URL!


exception.

thanks.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-ajax-search-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to